From 76767c30d93fdd09c3398f3e4464ecc4735fd4bd Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Wed, 22 Dec 1993 17:35:24 -0800 Subject: [PATCH] (DBX_FINISH_SYMBOL): Get variable name from DECL_RTL instead of from DECL_ASSEMBLER_NAME. From-SVN: r6274 --- gcc/xcoffout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); \ -- 2.30.2