(sdbout_symbol): Use DECL_ASSEMBLER_NAME if

DECL_LANG_SPECIFIC is set.

From-SVN: r7522
This commit is contained in:
Jim Wilson 1994-06-18 14:01:07 -07:00
parent 1d33b2a9b9
commit 2817f10ffc
1 changed files with 4 additions and 1 deletions

View File

@ -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)