summaryrefslogtreecommitdiff
path: root/gcc/xcoffout.h
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1993-12-23 01:35:24 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1993-12-23 01:35:24 +0000
commit4959df78757cef997e179c1094db1536394da039 (patch)
tree1aa9c5a863cc4c1138fdd8f69b5e0644638727df /gcc/xcoffout.h
parent98a91f1f57df425173f7b88cc2816fdc8737cf2f (diff)
downloadgcc-4959df78757cef997e179c1094db1536394da039.tar.gz
(DBX_FINISH_SYMBOL): Get variable name from DECL_RTL
instead of from DECL_ASSEMBLER_NAME. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6274 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/xcoffout.h')
-rw-r--r--gcc/xcoffout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/xcoffout.h b/gcc/xcoffout.h
index 7efa984d08b..ab89cb13e35 100644
--- a/gcc/xcoffout.h
+++ b/gcc/xcoffout.h
@@ -91,7 +91,7 @@
else if (current_sym_addr) \
output_addr_const (asmfile, current_sym_addr); \
else if (current_sym_code == N_GSYM) \
- fprintf (asmfile, "%s", IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (SYM))); \
+ assemble_name (asmfile, XSTR (XEXP (DECL_RTL (sym), 0), 0)); \
else \
fprintf (asmfile, "%d", current_sym_value); \
fprintf (asmfile, ",%d,0\n", stab_to_sclass (current_sym_code)); \