aboutsummaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2002-09-12 22:34:08 +0000
committerZack Weinberg <zack@gcc.gnu.org>2002-09-12 22:34:08 +0000
commitd48fd218f93dfc00e80a07913f26ad26f8fc819b (patch)
treef0a846f3f9fdb27ba680a2c042cded5a61b8336e /gcc/defaults.h
parent92bc3c1a9adcccc1fc88bcd8693daad1be783f0f (diff)
downloadgcc-d48fd218f93dfc00e80a07913f26ad26f8fc819b.zip
gcc-d48fd218f93dfc00e80a07913f26ad26f8fc819b.tar.gz
gcc-d48fd218f93dfc00e80a07913f26ad26f8fc819b.tar.bz2
toplev.c: Move default definition of USER_LABEL_PREFIX...
* toplev.c: Move default definition of USER_LABEL_PREFIX... * defaults.h: ... here. From-SVN: r57081
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index e08ed8e..371f17d 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -240,6 +240,11 @@ do { fputs (integer_asm_op (POINTER_SIZE / UNITS_PER_WORD, TRUE), FILE); \
#endif
#endif
+/* By default, there is no prefix on user-defined symbols. */
+#ifndef USER_LABEL_PREFIX
+#define USER_LABEL_PREFIX ""
+#endif
+
/* If the target supports weak symbols, define TARGET_ATTRIBUTE_WEAK to
provide a weak attribute. Else define it to nothing.