summaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-18 01:03:36 +0000
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-18 01:03:36 +0000
commit17827ae849645dbea25ea17e925d5b7193beac3d (patch)
tree05d575b233adb948f17e2868d6723786bfc51546 /gcc/varasm.c
parent00490a6c40729e4ee892ba1874d3e876c783ee81 (diff)
downloadgcc-17827ae849645dbea25ea17e925d5b7193beac3d.tar.gz
Use ASM_OUTPUT_DEF_FROM_DECLS in preference to ASM_OUTPUT_DEF, if it is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27585 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index f463d847d4a..999456c5f7f 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -4423,7 +4423,11 @@ assemble_alias (decl, target)
ASM_GLOBALIZE_LABEL (asm_out_file, name);
}
+#ifdef ASM_OUTPUT_DEF_FROM_DECLS
+ ASM_OUTPUT_DEF_FROM_DECLS (asm_out_file, decl, target);
+#else
ASM_OUTPUT_DEF (asm_out_file, name, IDENTIFIER_POINTER (target));
+#endif
TREE_ASM_WRITTEN (decl) = 1;
#else
#ifdef ASM_OUTPUT_WEAK_ALIAS