From c8d02404ea99ae0add8ccaa656c2444c53bf9e4b Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 21 Feb 1994 23:17:59 +0000 Subject: [PATCH] * config/ho-hpux.h (BROKEN_ASSERT): Define if not __GNUC__. --- gas/ChangeLog | 2 ++ gas/config/ho-hpux.h | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index eeef52d517d..d81e06b8b2d 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 23310d77034..38099e020dc 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 -- 2.30.2