aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1993-12-22 17:35:24 -0800
committerJim Wilson <wilson@gcc.gnu.org>1993-12-22 17:35:24 -0800
commit76767c30d93fdd09c3398f3e4464ecc4735fd4bd (patch)
tree1aa9c5a863cc4c1138fdd8f69b5e0644638727df
parentb16bd3ad9360c9975000683bd4e85ee56b578a5c (diff)
downloadgcc-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
-rw-r--r--gcc/xcoffout.h2
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)); \