aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386/netbsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386/netbsd.h')
-rw-r--r--gcc/config/i386/netbsd.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/config/i386/netbsd.h b/gcc/config/i386/netbsd.h
index 5978aec5c4b..d9f06469e62 100644
--- a/gcc/config/i386/netbsd.h
+++ b/gcc/config/i386/netbsd.h
@@ -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 "-Dunix -Di386 -D__NetBSD__ -Asystem(unix) -Asystem(NetBSD) -Acpu(i386) -Amachine(i386)"