Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/gcc/config/i386 Adapt NetBSD/i386 configuration to ...
details: https://anonhg.NetBSD.org/src/rev/ef55323141ef
branches: trunk
changeset: 468014:ef55323141ef
user: fvdl <fvdl%NetBSD.org@localhost>
date: Thu Apr 01 21:15:43 1999 +0000
description:
Adapt NetBSD/i386 configuration to egcs changes wrt. TARGET_DEFAULT. This
should make it stop outputting i387 instructions that the emulator can't
handle.
diffstat:
gnu/dist/gcc/config/i386/netbsd.h | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r 07d39db4fb16 -r ef55323141ef gnu/dist/gcc/config/i386/netbsd.h
--- a/gnu/dist/gcc/config/i386/netbsd.h Thu Apr 01 20:50:52 1999 +0000
+++ b/gnu/dist/gcc/config/i386/netbsd.h Thu Apr 01 21:15:43 1999 +0000
@@ -1,6 +1,3 @@
-/* This goes away when the math-emulator is fixed */
-#define TARGET_CPU_DEFAULT 0400 /* TARGET_NO_FANCY_MATH_387 */
-
/* This is tested by i386gas.h. */
#define YES_UNDERSCORES
@@ -12,6 +9,11 @@
/* Get generic NetBSD definitions. */
#include <netbsd.h>
+/* This goes away when the math-emulator is fixed */
+#undef TARGET_DEFAULT
+#define TARGET_DEFAULT \
+ (MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS | MASK_NO_FANCY_MATH_387)
+
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Di386 -D__NetBSD__ -D__KPRINTF_ATTRIBUTE__ -Asystem(unix) -Asystem(NetBSD) -Acpu(i386) -Amachine(i386)"
Home |
Main Index |
Thread Index |
Old Index