diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1994-06-18 14:01:07 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1994-06-18 14:01:07 -0700 |
commit | 2817f10ffced285d50ade99e1b6ea2cb8c9b9955 (patch) | |
tree | 3d91e00e959e88e3aa6453f027fea6a077de25ea /gcc/sdbout.c | |
parent | 1d33b2a9b9f2b7d119bdb15812f8dd1cf958687e (diff) | |
download | gcc-2817f10ffced285d50ade99e1b6ea2cb8c9b9955.tar.gz |
(sdbout_symbol): Use DECL_ASSEMBLER_NAME if
DECL_LANG_SPECIFIC is set.
From-SVN: r7522
Diffstat (limited to 'gcc/sdbout.c')
-rw-r--r-- | gcc/sdbout.c | 5 |
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) |