aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-11-21 15:38:01 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1993-11-21 15:38:01 -0500
commit26d52b3e2ca167db17f4a364fe20200ebeeb4122 (patch)
tree6f7e8dd8a98508273a7728856706536c7208bfc7 /gcc
parente61e33c9802f32b461e6648f0e0493cd944fe82c (diff)
downloadgcc-26d52b3e2ca167db17f4a364fe20200ebeeb4122.zip
gcc-26d52b3e2ca167db17f4a364fe20200ebeeb4122.tar.gz
gcc-26d52b3e2ca167db17f4a364fe20200ebeeb4122.tar.bz2
(EXTRA_PARTS): Redefined to also contain gcc.ld.
(gcc.ld): Copied from dolphin.ld. (X_CFLAGS): Define __m88k__. From-SVN: r6135
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/m88k/x-dolph19
1 files changed, 17 insertions, 2 deletions
diff --git a/gcc/config/m88k/x-dolph b/gcc/config/m88k/x-dolph
index 00f29f5..2a28fab 100644
--- a/gcc/config/m88k/x-dolph
+++ b/gcc/config/m88k/x-dolph
@@ -1,4 +1,19 @@
-# Green Hills C on Dolphin UNIX System V/88 Release 3.2 Version 3.5/5.60 does
-# not provide alloca.
+# Use link editor directives to make NULL pointers point to
+# illegal addresses.
+
+EXTRA_PARTS=crtbegin.o crtend.o gcc.ld
+
+gcc.ld: $(srcdir)/config/m88k/dolphin.ld
+ rm -f gcc.ld; cp $(srcdir)/config/m88k/dolphin.ld gcc.ld
+
+# Green Hills C on Dolphin UNIX System V/88 Release 3.2 Version 3.6/5.86 does
+# not provide alloca. It does not harm to have it defined on version 3.8.alfa
+# even though it's not needed there.
ALLOCA=alloca.o
+
+# Under DolphinOS 3.8.alfa, /bin/cc defines __GNUC__, but not __m88k__,
+# causing gdstarg.h to fail. Defining __m88k__ does probably not hurt on
+# DolphinOS 3.6.
+
+X_CFLAGS =-D__m88k__