Commit 2817f10f by Jim Wilson

(sdbout_symbol): Use DECL_ASSEMBLER_NAME if

DECL_LANG_SPECIFIC is set.

From-SVN: r7522
parent 1d33b2a9
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment