summaryrefslogtreecommitdiffstats
path: root/gcc/sdbout.c
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1994-06-18 21:01:07 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1994-06-18 21:01:07 +0000
commit2e13289c7153947427fc19b99c7f3230b38104de (patch)
tree3d91e00e959e88e3aa6453f027fea6a077de25ea /gcc/sdbout.c
parent907d1ce90073ddd686bf90cc9ff77bb3c4f5cdb0 (diff)
downloadppe42-gcc-2e13289c7153947427fc19b99c7f3230b38104de.tar.gz
ppe42-gcc-2e13289c7153947427fc19b99c7f3230b38104de.zip
(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
Diffstat (limited to 'gcc/sdbout.c')
-rw-r--r--gcc/sdbout.c5
1 files changed, 4 insertions, 1 deletions
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)
OpenPOWER on IntegriCloud