summaryrefslogtreecommitdiff
path: root/gcc/output.h
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/output.h
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/output.h')
-rw-r--r--gcc/output.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/output.h b/gcc/output.h
index e1cf6d82950..9456ed8ed3f 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -505,3 +505,9 @@ extern FILE *rtl_dump_file;
/* 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