From: Jim Wilson Date: Sat, 18 Jun 1994 21:01:07 +0000 (-0700) Subject: (sdbout_symbol): Use DECL_ASSEMBLER_NAME if X-Git-Tag: misc/cutover-egcs-0~6421 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2817f10ffced285d50ade99e1b6ea2cb8c9b9955;p=thirdparty%2Fgcc.git (sdbout_symbol): Use DECL_ASSEMBLER_NAME if DECL_LANG_SPECIFIC is set. From-SVN: r7522 --- diff --git a/gcc/sdbout.c b/gcc/sdbout.c index 583dda0f86ed..6a031085632b 100644 --- a/gcc/sdbout.c +++ b/gcc/sdbout.c @@ -787,7 +787,10 @@ sdbout_symbol (decl, local) return; /* Record the name for, starting a symtab entry. */ - name = IDENTIFIER_POINTER (DECL_NAME (decl)); + if (DECL_LANG_SPECIFIC (decl)) + name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)); + else + name = IDENTIFIER_POINTER (DECL_NAME (decl)); if (GET_CODE (value) == MEM && GET_CODE (XEXP (value, 0)) == SYMBOL_REF)