summaryrefslogtreecommitdiff
path: root/gcc/symtab.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2013-09-20 08:46:22 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2013-09-20 08:46:22 +0000
commit174dbf0e0917406ff2f40a280850f2088efff3ce (patch)
tree88cb35c7468c9c304817d3b3d751c6deb686b8cd /gcc/symtab.c
parentb7a5110162a3b114887dabb7bc1b7413d2b04b72 (diff)
downloadgcc-174dbf0e0917406ff2f40a280850f2088efff3ce.tar.gz
2013-09-20 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 202766 using svnmerge.py git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@202768 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/symtab.c')
-rw-r--r--gcc/symtab.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/symtab.c b/gcc/symtab.c
index 8dc61d0c7af..62fe166bd61 100644
--- a/gcc/symtab.c
+++ b/gcc/symtab.c
@@ -1083,6 +1083,10 @@ symtab_nonoverwritable_alias (symtab_node node)
(void *)&new_node, true);
if (new_node)
return new_node;
+#ifndef ASM_OUTPUT_DEF
+ /* If aliases aren't supported by the assembler, fail. */
+ return NULL;
+#endif
/* Otherwise create a new one. */
new_decl = copy_node (node->symbol.decl);