From 68567ff12720b7f870fbc7eb7121ad6e24fbe487 Mon Sep 17 00:00:00 2001
From: "David E. O'Brien" <obrien@FreeBSD.org>
Date: Sun, 19 Dec 1999 07:40:17 +0000
Subject: [PATCH] Use symbolic values rather than constants in TARGET_DEFAULT.

Submitted by:	bde on -current
---
 contrib/gcc/config/i386/freebsd.h       | 3 ++-
 contrib/gcc/config/i386/freebsd.h.fixed | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/contrib/gcc/config/i386/freebsd.h b/contrib/gcc/config/i386/freebsd.h
index 5b8d51b7c2bb..8398733f983a 100644
--- a/contrib/gcc/config/i386/freebsd.h
+++ b/contrib/gcc/config/i386/freebsd.h
@@ -535,7 +535,8 @@ do {									\
 
 /* This goes away when the math emulator is fixed.  */
 #undef TARGET_DEFAULT
-#define TARGET_DEFAULT	(MASK_NO_FANCY_MATH_387 | 0301)
+#define TARGET_DEFAULT \
+  (MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS | MASK_NO_FANCY_MATH_387)
 
 /* FreeBSD ELF using our home-grown crtbegin.o/crtend.o does not support the
    DWARF2 unwinding mechanisms.  Once `make world' bootstraping problems with
diff --git a/contrib/gcc/config/i386/freebsd.h.fixed b/contrib/gcc/config/i386/freebsd.h.fixed
index 5b8d51b7c2bb..8398733f983a 100644
--- a/contrib/gcc/config/i386/freebsd.h.fixed
+++ b/contrib/gcc/config/i386/freebsd.h.fixed
@@ -535,7 +535,8 @@ do {									\
 
 /* This goes away when the math emulator is fixed.  */
 #undef TARGET_DEFAULT
-#define TARGET_DEFAULT	(MASK_NO_FANCY_MATH_387 | 0301)
+#define TARGET_DEFAULT \
+  (MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS | MASK_NO_FANCY_MATH_387)
 
 /* FreeBSD ELF using our home-grown crtbegin.o/crtend.o does not support the
    DWARF2 unwinding mechanisms.  Once `make world' bootstraping problems with