Bug-fix from current: 386 handling of TARGET_DEFAULT/TARGET_CPU_DEFAULT
is weird.
This commit is contained in:
parent
af19cd7134
commit
a3a867f82e
18
lang/egcs-stable/patches/patch-core-i386bug-a
Normal file
18
lang/egcs-stable/patches/patch-core-i386bug-a
Normal file
@ -0,0 +1,18 @@
|
||||
--- gcc/config/i386/openbsd.h.orig Wed Mar 24 03:27:17 1999
|
||||
+++ gcc/config/i386/openbsd.h Wed Mar 24 03:30:16 1999
|
||||
@@ -24,6 +24,15 @@
|
||||
|
||||
#include <i386/gstabs.h>
|
||||
|
||||
+/* Remove when the math-emulator is fixed. */
|
||||
+/* XXX i386 TARGET_DEFAULT/TARGET_CPU_DEFAULT is weird...
|
||||
+ This must be defined as TARGET_DEFAULT, and after including gstab.h
|
||||
+ to override unix.h TARGET_DEFAULT definition.
|
||||
+ In effect, this add MASK_NO_FANCY_MATH_387 to the usual definition. */
|
||||
+#undef TARGET_DEFAULT
|
||||
+#define TARGET_DEFAULT \
|
||||
+ (MASK_NO_FANCY_MATH_387 | MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS)
|
||||
+
|
||||
/* Get perform_* macros to build libgcc.a. */
|
||||
#include <i386/perform.h>
|
||||
|
11
lang/egcs-stable/patches/patch-core-i386bug-b
Normal file
11
lang/egcs-stable/patches/patch-core-i386bug-b
Normal file
@ -0,0 +1,11 @@
|
||||
--- gcc/configure.in.orig Wed Mar 24 03:29:16 1999
|
||||
+++ gcc/configure.in Wed Mar 24 03:29:54 1999
|
||||
@@ -896,8 +896,6 @@
|
||||
tmake_file=t-netbsd
|
||||
;;
|
||||
i[[34567]]86-*-openbsd*)
|
||||
- # Remove when the math emulator is fixed
|
||||
- target_cpu_default="MASK_NO_FANCY_MATH_387"
|
||||
# we need collect2 until our bug is fixed...
|
||||
use_collect2=yes
|
||||
;;
|
18
lang/egcs/stable/patches/patch-core-i386bug-a
Normal file
18
lang/egcs/stable/patches/patch-core-i386bug-a
Normal file
@ -0,0 +1,18 @@
|
||||
--- gcc/config/i386/openbsd.h.orig Wed Mar 24 03:27:17 1999
|
||||
+++ gcc/config/i386/openbsd.h Wed Mar 24 03:30:16 1999
|
||||
@@ -24,6 +24,15 @@
|
||||
|
||||
#include <i386/gstabs.h>
|
||||
|
||||
+/* Remove when the math-emulator is fixed. */
|
||||
+/* XXX i386 TARGET_DEFAULT/TARGET_CPU_DEFAULT is weird...
|
||||
+ This must be defined as TARGET_DEFAULT, and after including gstab.h
|
||||
+ to override unix.h TARGET_DEFAULT definition.
|
||||
+ In effect, this add MASK_NO_FANCY_MATH_387 to the usual definition. */
|
||||
+#undef TARGET_DEFAULT
|
||||
+#define TARGET_DEFAULT \
|
||||
+ (MASK_NO_FANCY_MATH_387 | MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS)
|
||||
+
|
||||
/* Get perform_* macros to build libgcc.a. */
|
||||
#include <i386/perform.h>
|
||||
|
11
lang/egcs/stable/patches/patch-core-i386bug-b
Normal file
11
lang/egcs/stable/patches/patch-core-i386bug-b
Normal file
@ -0,0 +1,11 @@
|
||||
--- gcc/configure.in.orig Wed Mar 24 03:29:16 1999
|
||||
+++ gcc/configure.in Wed Mar 24 03:29:54 1999
|
||||
@@ -896,8 +896,6 @@
|
||||
tmake_file=t-netbsd
|
||||
;;
|
||||
i[[34567]]86-*-openbsd*)
|
||||
- # Remove when the math emulator is fixed
|
||||
- target_cpu_default="MASK_NO_FANCY_MATH_387"
|
||||
# we need collect2 until our bug is fixed...
|
||||
use_collect2=yes
|
||||
;;
|
Loading…
Reference in New Issue
Block a user