mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-23 09:40:54 +08:00
re PR bootstrap/50822 (Solaris/SPARC bootstrap failure with Sun as: invalid assembler for ios_init.cc)
PR bootstrap/50822 * cgraphunit.c (output_weakrefs): Output really only weakrefs. From-SVN: r181311
This commit is contained in:
parent
bcf83e0029
commit
c481ae7f87
@ -1,3 +1,8 @@
|
||||
2011-11-12 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
PR bootstrap/50822
|
||||
* cgraphunit.c (output_weakrefs): Output really only weakrefs.
|
||||
|
||||
2011-11-12 Nathan Sidwell <nathan@acm.org>
|
||||
|
||||
* gcov.c (struct name_map): New.
|
||||
|
@ -2101,13 +2101,15 @@ output_weakrefs (void)
|
||||
struct varpool_node *vnode;
|
||||
for (node = cgraph_nodes; node; node = node->next)
|
||||
if (node->alias && DECL_EXTERNAL (node->decl)
|
||||
&& !TREE_ASM_WRITTEN (node->decl))
|
||||
&& !TREE_ASM_WRITTEN (node->decl)
|
||||
&& lookup_attribute ("weakref", DECL_ATTRIBUTES (node->decl)))
|
||||
assemble_alias (node->decl,
|
||||
node->thunk.alias ? DECL_ASSEMBLER_NAME (node->thunk.alias)
|
||||
: get_alias_symbol (node->decl));
|
||||
for (vnode = varpool_nodes; vnode; vnode = vnode->next)
|
||||
if (vnode->alias && DECL_EXTERNAL (vnode->decl)
|
||||
&& !TREE_ASM_WRITTEN (vnode->decl))
|
||||
&& !TREE_ASM_WRITTEN (vnode->decl)
|
||||
&& lookup_attribute ("weakref", DECL_ATTRIBUTES (vnode->decl)))
|
||||
assemble_alias (vnode->decl,
|
||||
vnode->alias_of ? DECL_ASSEMBLER_NAME (vnode->alias_of)
|
||||
: get_alias_symbol (vnode->decl));
|
||||
|
Loading…
x
Reference in New Issue
Block a user