aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-02-21 19:00:04 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1995-02-21 19:00:04 -0500
commit829bd124b136b35a2ea1c1aa3201d02c24a50f24 (patch)
tree70f4f320ae90fd2cef85a18f60af2b6c36fe69ba /gcc/varasm.c
parent77cf75a8ef478208189f1da732dae2ac05aab4b8 (diff)
downloadgcc-829bd124b136b35a2ea1c1aa3201d02c24a50f24.zip
gcc-829bd124b136b35a2ea1c1aa3201d02c24a50f24.tar.gz
gcc-829bd124b136b35a2ea1c1aa3201d02c24a50f24.tar.bz2
(make_decl_rtl): Call MODIFY_ASSEMBLER_NAME if defined.
From-SVN: r9022
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 74c8d57..c25dd08 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -1,5 +1,5 @@
/* Output variables, constants and external declarations, for GNU compiler.
- Copyright (C) 1987, 88, 89, 92, 93, 1994 Free Software Foundation, Inc.
+ Copyright (C) 1987, 88, 89, 92, 93, 94, 1995 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -448,6 +448,10 @@ make_decl_rtl (decl, asmspec, top_level)
register char *name = 0;
int reg_number;
+#ifdef MODIFY_ASSEMBLER_NAME
+ DECL_ASSEMBLER_NAME (decl) = MODIFY_ASSEMBLER_NAME (decl);
+#endif
+
if (output_bytecode)
{
bc_make_decl_rtl (decl, asmspec, top_level);