aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1999-03-23 21:34:50 +0000
committerJeff Law <law@gcc.gnu.org>1999-03-23 14:34:50 -0700
commit5ef2fb7986c0605225dfb979acc55d73e7a8b001 (patch)
treea74ca13fc6ed8bfac9b00fe95cd61e677791300a
parent0234ca02090509afb8afd7055251b4d29f7386e5 (diff)
downloadgcc-5ef2fb7986c0605225dfb979acc55d73e7a8b001.zip
gcc-5ef2fb7986c0605225dfb979acc55d73e7a8b001.tar.gz
gcc-5ef2fb7986c0605225dfb979acc55d73e7a8b001.tar.bz2
openbsd.h (TARGET_DEFAULT): Use symbolic names instead of numbers.
* i386/openbsd.h (TARGET_DEFAULT): Use symbolic names instead of numbers. * i386/netbsd.h, i386/freebsd.h: Likewise. From-SVN: r25931
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/freebsd.h3
-rw-r--r--gcc/config/i386/netbsd.h3
-rw-r--r--gcc/config/i386/openbsd.h3
4 files changed, 10 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 76ef507..bab1f16 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/i386/freebsd.h b/gcc/config/i386/freebsd.h
index 3cfa4907..5230222 100644
--- a/gcc/config/i386/freebsd.h
+++ b/gcc/config/i386/freebsd.h
@@ -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)"
diff --git a/gcc/config/i386/netbsd.h b/gcc/config/i386/netbsd.h
index 35b29ac..d9f0646 100644
--- a/gcc/config/i386/netbsd.h
+++ b/gcc/config/i386/netbsd.h
@@ -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)"
diff --git a/gcc/config/i386/openbsd.h b/gcc/config/i386/openbsd.h
index ae086d5..69ac05b 100644
--- a/gcc/config/i386/openbsd.h
+++ b/gcc/config/i386/openbsd.h
@@ -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)"