This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

x86 *bsd cleanups



        * 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)"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]