(EXTRA_PARTS): Redefined to also contain gcc.ld.
authorRichard Kenner <kenner@gcc.gnu.org>
Sun, 21 Nov 1993 20:38:01 +0000 (15:38 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 21 Nov 1993 20:38:01 +0000 (15:38 -0500)
(gcc.ld): Copied from dolphin.ld.
(X_CFLAGS): Define __m88k__.

From-SVN: r6135

gcc/config/m88k/x-dolph

index 00f29f5dcc84e15562216282a38b4dc4a89bd690..2a28fabf9ff8b7706a71b12747c04542d8f6064c 100644 (file)
@@ -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__