aboutsummaryrefslogtreecommitdiff
path: root/gas/as.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1992-08-13 20:55:03 +0000
committerKen Raeburn <raeburn@cygnus>1992-08-13 20:55:03 +0000
commitc8c7e0bf25d1a5ae7d988ad3ab84052858a8c817 (patch)
tree398ff1b64d33e75192804dde0f204ad525c591ed /gas/as.h
parent6bf2e3a7623a1ac43ba9a26a03963519346ce1c8 (diff)
downloadgdb-c8c7e0bf25d1a5ae7d988ad3ab84052858a8c817.zip
gdb-c8c7e0bf25d1a5ae7d988ad3ab84052858a8c817.tar.gz
gdb-c8c7e0bf25d1a5ae7d988ad3ab84052858a8c817.tar.bz2
make it compile on rs6k: declare free, disable assertions, don't define M_RS6000
Diffstat (limited to 'gas/as.h')
-rw-r--r--gas/as.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/as.h b/gas/as.h
index ca65a0b..9787f21 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -91,6 +91,12 @@
/* COMMON now defined */
#define DEBUG /* temporary */
+#ifdef BROKEN_ASSERT
+/* turn off all assertion checks */
+#undef DEBUG
+#define NDEBUG
+#endif
+
#ifdef DEBUG
#undef NDEBUG
#ifndef know
@@ -141,6 +147,7 @@
#ifdef MANY_SEGMENTS
+#include "bfd.h"
#define N_SEGMENTS 10
#define SEG_NORMAL(x) ((x) >= SEG_E0 && (x) <= SEG_E9)
#define SEG_LIST SEG_E0,SEG_E1,SEG_E2,SEG_E3,SEG_E4,SEG_E5,SEG_E6,SEG_E7,SEG_E8,SEG_E9