diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-08-26 08:00:27 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-08-26 08:00:27 +0000 |
commit | 55a8caea22587a154a5782eb6e22780e2dea01af (patch) | |
tree | 169536cd106cc9f71efecccaf70e5988375d4d93 /4.1.1 | |
parent | backport from trunk for #145028 (diff) | |
download | gcc-patches-55a8caea22587a154a5782eb6e22780e2dea01af.tar.gz gcc-patches-55a8caea22587a154a5782eb6e22780e2dea01af.tar.bz2 gcc-patches-55a8caea22587a154a5782eb6e22780e2dea01af.zip |
set -mieee as default on alpha and add -mno-mieee to turn this off
Diffstat (limited to '4.1.1')
-rw-r--r-- | 4.1.1/gentoo/00_all_gcc-4.1-alpha-mieee-default.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/4.1.1/gentoo/00_all_gcc-4.1-alpha-mieee-default.patch b/4.1.1/gentoo/00_all_gcc-4.1-alpha-mieee-default.patch new file mode 100644 index 0000000..6d87684 --- /dev/null +++ b/4.1.1/gentoo/00_all_gcc-4.1-alpha-mieee-default.patch @@ -0,0 +1,31 @@ +Set the default behavior on alpha to use -mieee since the large majority of +time we want this (bad/weird things can happen with packages built without +-mieee). + +To satisfy those people who may not want -mieee forced on them all the time, +we also provide -mno-ieee. + +Patch by Mike Frysinger <vapier@gentoo.org> + +--- gcc-4_1-branch/gcc/config/alpha/alpha.h ++++ gcc-4_1-branch/gcc/config/alpha/alpha.h +@@ -96,7 +96,7 @@ + while (0) + #endif + +-#define CPP_SPEC "%(cpp_subtarget)" ++#define CPP_SPEC "%(cpp_subtarget) %{!no-ieee:-mieee}" + + #ifndef CPP_SUBTARGET_SPEC + #define CPP_SUBTARGET_SPEC "" +--- gcc-4_1-branch/gcc/config/alpha/alpha.opt ++++ gcc-4_1-branch/gcc/config/alpha/alpha.opt +@@ -40,7 +40,7 @@ + Request IEEE-conformant math library routines (OSF/1) + + mieee +-Target Report RejectNegative Mask(IEEE) ++Target Report Mask(IEEE) + Emit IEEE-conformant code, without inexact exceptions + + mieee-with-inexact |