From: Jim Wilson Date: Thu, 23 Dec 1993 01:35:24 +0000 (-0800) Subject: (DBX_FINISH_SYMBOL): Get variable name from DECL_RTL X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=76767c30d93fdd09c3398f3e4464ecc4735fd4bd;p=gcc.git (DBX_FINISH_SYMBOL): Get variable name from DECL_RTL instead of from DECL_ASSEMBLER_NAME. From-SVN: r6274 --- 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)); \