openbsd.h (TARGET_DEFAULT): Use symbolic names instead of numbers.
authorJeffrey A Law <law@cygnus.com>
Tue, 23 Mar 1999 21:34:50 +0000 (21:34 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 23 Mar 1999 21:34:50 +0000 (14:34 -0700)
        * i386/openbsd.h (TARGET_DEFAULT): Use symbolic names instead of
        numbers.
        * i386/netbsd.h, i386/freebsd.h: Likewise.

From-SVN: r25931

gcc/ChangeLog
gcc/config/i386/freebsd.h
gcc/config/i386/netbsd.h
gcc/config/i386/openbsd.h

index 76ef507..bab1f16 100644 (file)
@@ -34,6 +34,10 @@ Tue Mar 23 07:50:20 1999  Mark Mitchell  <mark@codesourcery.com>
        
 Tue Mar 23 00:39:14 1999  Jeffrey A Law  (law@cygnus.com)
 
+       * i386/openbsd.h (TARGET_DEFAULT): Use symbolic names instead of
+       numbers.
+       * i386/netbsd.h, i386/freebsd.h: Likewise.
+
        * crtstuff.c: Use ANSI function definitions.  Fix minor whitespace
        problems.
 
index 3cfa490..5230222 100644 (file)
@@ -33,7 +33,8 @@ Boston, MA 02111-1307, USA.  */
 
 /* This goes away when the math-emulator is fixed */
 #undef TARGET_DEFAULT
-#define TARGET_DEFAULT 0701            /* TARGET_NO_FANCY_MATH_387 | ... */
+#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__FreeBSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
index 35b29ac..d9f0646 100644 (file)
@@ -11,7 +11,8 @@
 
 /* This goes away when the math-emulator is fixed */
 #undef TARGET_DEFAULT
-#define TARGET_DEFAULT 0701            /* TARGET_NO_FANCY_MATH_387 | ... */
+#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)"
index ae086d5..69ac05b 100644 (file)
@@ -33,7 +33,8 @@ Boston, MA 02111-1307, USA.  */
 
 /* This goes away when the math-emulator is fixed */
 #undef TARGET_DEFAULT
-#define TARGET_DEFAULT 0701             /* TARGET_NO_FANCY_MATH_387 | ... */
+#define TARGET_DEFAULT \
+  (MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS | MASK_NO_FANCY_MATH_387)
 
 /* Run-time target specifications */
 #define CPP_PREDEFINES "-D__unix__ -D__i386__ -D__OpenBSD__ -Asystem(unix) -Asystem(OpenBSD) -Acpu(i386) -Amachine(i386)"