This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
x86 *bsd cleanups
- To: egcs-patches at egcs dot cygnus dot com
- Subject: x86 *bsd cleanups
- From: Jeffrey A Law <law at upchuck dot cygnus dot com>
- Date: Tue, 23 Mar 1999 22:17:26 -0700
- Reply-To: law at cygnus dot com
* i386/openbsd.h (TARGET_DEFAULT): Use symbolic names instead of
numbers.
* i386/netbsd.h, i386/freebsd.h: Likewise.
Index: freebsd.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/i386/freebsd.h,v
retrieving revision 1.12
diff -c -3 -p -r1.12 freebsd.h
*** freebsd.h 1999/03/22 23:44:58 1.12
--- freebsd.h 1999/03/24 05:23:38
*************** Boston, MA 02111-1307, USA. */
*** 33,39 ****
/* This goes away when the math-emulator is fixed */
#undef TARGET_DEFAULT
! #define TARGET_DEFAULT 0701 /* TARGET_NO_FANCY_MATH_387 | ... */
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dunix -Di386 -D__FreeBSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
--- 33,40 ----
/* 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__FreeBSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
Index: netbsd.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/i386/netbsd.h,v
retrieving revision 1.9
diff -c -3 -p -r1.9 netbsd.h
*** netbsd.h 1999/03/22 23:45:00 1.9
--- netbsd.h 1999/03/24 05:23:38
***************
*** 11,17 ****
/* This goes away when the math-emulator is fixed */
#undef TARGET_DEFAULT
! #define TARGET_DEFAULT 0701 /* TARGET_NO_FANCY_MATH_387 | ... */
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dunix -Di386 -D__NetBSD__ -Asystem(unix) -Asystem(NetBSD) -Acpu(i386) -Amachine(i386)"
--- 11,18 ----
/* 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)"
Index: openbsd.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/i386/openbsd.h,v
retrieving revision 1.2
diff -c -3 -p -r1.2 openbsd.h
*** openbsd.h 1999/03/22 23:45:01 1.2
--- openbsd.h 1999/03/24 05:23:38
*************** Boston, MA 02111-1307, USA. */
*** 33,39 ****
/* This goes away when the math-emulator is fixed */
#undef TARGET_DEFAULT
! #define TARGET_DEFAULT 0701 /* TARGET_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)"
--- 33,40 ----
/* 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)
/* Run-time target specifications */
#define CPP_PREDEFINES "-D__unix__ -D__i386__ -D__OpenBSD__ -Asystem(unix) -Asystem(OpenBSD) -Acpu(i386) -Amachine(i386)"