summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-05-25 21:32:01 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-05-25 21:32:01 +0000
commit1c5153f26f6072a612366c7485f26a7dc6da5a9a (patch)
treeba48d849e176d8ad496a6a0c37d60074113ae8a9 /gcc/dwarf2out.c
parentdcd3688654619bcc7d0870af6f0e1dd03a7816fb (diff)
downloadgcc-1c5153f26f6072a612366c7485f26a7dc6da5a9a.tar.gz
* output.h (STRIP_NAME_ENCODING): Provide default definition.
* dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27151 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 659b119f4bd..58cf338e72c 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -2728,8 +2728,10 @@ static char debug_line_section_label[MAX_ARTIFICIAL_LABEL_BYTES];
dyn_string_append (STR, NAME + 1); \
else \
{ \
+ char *newstr; \
+ STRIP_NAME_ENCODING (newstr, NAME); \
dyn_string_append (STR, user_label_prefix); \
- dyn_string_append (STR, NAME); \
+ dyn_string_append (STR, newstr); \
} \
} \
while (0)