aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-02-21 23:17:59 +0000
committerIan Lance Taylor <ian@airs.com>1994-02-21 23:17:59 +0000
commitc8d02404ea99ae0add8ccaa656c2444c53bf9e4b (patch)
tree3d167d663039a364b351e8e5024f0c6dbc349e20 /gas
parent9eb5f4b8c6f4a29496822d8762dc4e3b46ab152b (diff)
downloadfsf-binutils-gdb-c8d02404ea99ae0add8ccaa656c2444c53bf9e4b.zip
fsf-binutils-gdb-c8d02404ea99ae0add8ccaa656c2444c53bf9e4b.tar.gz
fsf-binutils-gdb-c8d02404ea99ae0add8ccaa656c2444c53bf9e4b.tar.bz2
* config/ho-hpux.h (BROKEN_ASSERT): Define if not __GNUC__.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog2
-rw-r--r--gas/config/ho-hpux.h6
2 files changed, 8 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index eeef52d5..d81e06b 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,7 @@
Mon Feb 21 11:41:18 1994 Ian Lance Taylor (ian@cygnus.com)
+ * config/ho-hpux.h (BROKEN_ASSERT): Define if not __GNUC__.
+
* read.c (read_a_source_file): Use correct arguments to memcpy
(broken 19 Jul 1993). From kjd@pescadero.stanford.edu (Kenneth
Duda).
diff --git a/gas/config/ho-hpux.h b/gas/config/ho-hpux.h
index 23310d7..38099e0 100644
--- a/gas/config/ho-hpux.h
+++ b/gas/config/ho-hpux.h
@@ -27,6 +27,12 @@
#undef setbuffer
#endif /* setbuffer */
+/* When using cc on HP/UX 8.07, an assert condition can not contain a
+ string literal. */
+#ifndef __GNUC__
+#define BROKEN_ASSERT
+#endif
+
#define setbuffer(stream, buf, size)
/* Some basic include files. Avoid including ho-sysv.h as it defines