diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-12-23 01:35:24 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-12-23 01:35:24 +0000 |
commit | 4959df78757cef997e179c1094db1536394da039 (patch) | |
tree | 1aa9c5a863cc4c1138fdd8f69b5e0644638727df /gcc/xcoffout.h | |
parent | 98a91f1f57df425173f7b88cc2816fdc8737cf2f (diff) | |
download | gcc-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.h | 2 |
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)); \ |