diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1993-12-22 17:35:24 -0800 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1993-12-22 17:35:24 -0800 |
commit | 76767c30d93fdd09c3398f3e4464ecc4735fd4bd (patch) | |
tree | 1aa9c5a863cc4c1138fdd8f69b5e0644638727df /gcc | |
parent | b16bd3ad9360c9975000683bd4e85ee56b578a5c (diff) | |
download | gcc-76767c30d93fdd09c3398f3e4464ecc4735fd4bd.zip gcc-76767c30d93fdd09c3398f3e4464ecc4735fd4bd.tar.gz gcc-76767c30d93fdd09c3398f3e4464ecc4735fd4bd.tar.bz2 |
(DBX_FINISH_SYMBOL): Get variable name from DECL_RTL
instead of from DECL_ASSEMBLER_NAME.
From-SVN: r6274
Diffstat (limited to 'gcc')
-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 7efa984d..ab89cb1 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)); \ |