aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-hppa.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-07-28 05:05:20 +0000
committerAlan Modra <amodra@gmail.com>2000-07-28 05:05:20 +0000
commit4c400d5ea7c935bd544aa6998c3faa896b2d1cef (patch)
treed358c0d2129f8be865d4eefdc58fb5807fb16556 /gas/config/tc-hppa.h
parent0aa529cb6b6141b8c231c99b2692d1bdc628a775 (diff)
downloadgdb-4c400d5ea7c935bd544aa6998c3faa896b2d1cef.zip
gdb-4c400d5ea7c935bd544aa6998c3faa896b2d1cef.tar.gz
gdb-4c400d5ea7c935bd544aa6998c3faa896b2d1cef.tar.bz2
comment-finding hack for hppa-linux.
Diffstat (limited to 'gas/config/tc-hppa.h')
-rw-r--r--gas/config/tc-hppa.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/config/tc-hppa.h b/gas/config/tc-hppa.h
index 69de41a..1ea9daa 100644
--- a/gas/config/tc-hppa.h
+++ b/gas/config/tc-hppa.h
@@ -61,6 +61,15 @@
#define TARGET_FORMAT "som"
#endif
+#ifdef TE_LINUX
+/* Define to compile in an extra assembler option, -c, which enables a
+ warning (once per file) when a comment is encountered.
+ The hppa comment char is a `;' which tends to occur in random C asm
+ statements. A semicolon is a line separator for most assemblers.
+ It's hard to find these lurking semicolons. Thus... */
+#define WARN_COMMENTS 1
+#endif
+
/* FIXME. Why oh why aren't these defined somewhere globally? */
#ifndef FALSE
#define FALSE (0)