From 2e13289c7153947427fc19b99c7f3230b38104de Mon Sep 17 00:00:00 2001 From: wilson Date: Sat, 18 Jun 1994 21:01:07 +0000 Subject: (sdbout_symbol): Use DECL_ASSEMBLER_NAME if DECL_LANG_SPECIFIC is set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7522 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/sdbout.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gcc/sdbout.c') diff --git a/gcc/sdbout.c b/gcc/sdbout.c index 583dda0f86e..6a031085632 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) -- cgit v1.2.1