summaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-09 20:18:32 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-09 20:18:32 +0000
commit2d0a9e440ffc10b8bc7805cd268f36b298fcb8af (patch)
tree46f5b9e96153860f2351a71bb767362038a0ca94 /gcc/defaults.h
parenta6b622eb03be06091ebe6995d778335dc84d8d2b (diff)
downloadgcc-2d0a9e440ffc10b8bc7805cd268f36b298fcb8af.tar.gz
Move ASM_COMMENT_START to defaults.h.
Note the extreme silliness in dwarf2out.c with 3 (three) copies. * defaults.h (ASM_COMMENT_START): Move here... * dwarf2asm.c: ... from here. * dwarf2out.c, final.c, vmsdbgout.c: Remove duplicates. * toplev.c: Remove ifndef tests of ASM_COMMENT_START. * varasm.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176093 138bc75d-0d04-0410-961f-82ee72b054a4
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 5f83b1860f0..118cb1c2565 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -28,6 +28,11 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#ifndef GCC_DEFAULTS_H
#define GCC_DEFAULTS_H
+/* How to start an assembler comment. */
+#ifndef ASM_COMMENT_START
+#define ASM_COMMENT_START ";#"
+#endif
+
/* Store in OUTPUT a string (made with alloca) containing an
assembler-name for a local static variable or function named NAME.
LABELNO is an integer which is different for each call. */