diff options
author | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-06-18 01:03:36 +0000 |
---|---|---|
committer | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-06-18 01:03:36 +0000 |
commit | 17827ae849645dbea25ea17e925d5b7193beac3d (patch) | |
tree | 05d575b233adb948f17e2868d6723786bfc51546 /gcc/varasm.c | |
parent | 00490a6c40729e4ee892ba1874d3e876c783ee81 (diff) | |
download | gcc-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.c | 4 |
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 |