* 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
Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
+ * output.h (STRIP_NAME_ENCODING): Provide default definition.
+ * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
+
* flow.c (mark_set_1): Do not record BLKmode stores as dead
store elimination candidates.
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)
/* User label prefix in effect for this compilation. */
extern const char *user_label_prefix;
+
+/* Define a default version of STRIP_NAME_ENCODING so that we can use
+ it without a mess of #ifdefs. */
+#ifndef STRIP_NAME_ENCODING
+#define STRIP_NAME_ENCODING(TARGET,SOURCE) (TARGET = SOURCE)
+#endif