aboutsummaryrefslogtreecommitdiff
path: root/gas/config
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/config
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/config')
-rw-r--r--gas/config/ho-rs6000.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/gas/config/ho-rs6000.h b/gas/config/ho-rs6000.h
index fe57e8e..614914c 100644
--- a/gas/config/ho-rs6000.h
+++ b/gas/config/ho-rs6000.h
@@ -17,6 +17,18 @@
along with GAS; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-#define M_RS6000 1
+/* M_RS6000 is used in aout_gnu.h as an enumerator.
+ Nothing tests for the macro being defined, so don't bother defining it. */
+/* #define M_RS6000 1 */
+
+/* The assert.h macros assume that cpp DTRT when substituting for
+ a macro argument inside a string, including requoting. The non-STDC
+ cpp on the rs6k botches the requoting. (Many non-STDC cpps do, but
+ the assert.h here relies on it working.) */
+#ifndef __STDC__
+#define BROKEN_ASSERT
+#endif
+
+extern void free ();
/* end of ho-rs6000.h */