diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 76ef5076b5e..bab1f1673c8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -34,6 +34,10 @@ Tue Mar 23 07:50:20 1999 Mark Mitchell 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 3cfa490737a..52302222ae3 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 35b29acd9fb..d9f06469e62 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 ae086d5d915..69ac05baf77 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)"