1.1 --- a/patches/gcc/4.3.0/100-gcc-4.1-alpha-mieee-default.patch Mon Jul 28 20:17:48 2008 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,34 +0,0 @@
1.4 -Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.0/gentoo/00_all_gcc-4.1-alpha-mieee-default.patch
1.5 -Set the default behavior on alpha to use -mieee since the large majority of
1.6 -time we want this (bad/weird things can happen with packages built without
1.7 --mieee).
1.8 -
1.9 -To satisfy those people who may not want -mieee forced on them all the time,
1.10 -we also provide -mno-ieee.
1.11 -
1.12 -Patch by Mike Frysinger <vapier@gentoo.org>
1.13 -
1.14 -diff -durN gcc-4.3.0.orig/gcc/config/alpha/alpha.h gcc-4.3.0/gcc/config/alpha/alpha.h
1.15 ---- gcc-4.3.0.orig/gcc/config/alpha/alpha.h 2007-12-06 14:25:37.000000000 +0100
1.16 -+++ gcc-4.3.0/gcc/config/alpha/alpha.h 2008-06-10 14:44:06.000000000 +0200
1.17 -@@ -95,6 +95,8 @@
1.18 - while (0)
1.19 - #endif
1.20 -
1.21 -+#define CPP_SPEC "%{!no-ieee:-mieee}"
1.22 -+
1.23 - #define WORD_SWITCH_TAKES_ARG(STR) \
1.24 - (!strcmp (STR, "rpath") || DEFAULT_WORD_SWITCH_TAKES_ARG(STR))
1.25 -
1.26 -diff -durN gcc-4.3.0.orig/gcc/config/alpha/alpha.opt gcc-4.3.0/gcc/config/alpha/alpha.opt
1.27 ---- gcc-4.3.0.orig/gcc/config/alpha/alpha.opt 2007-08-02 12:49:31.000000000 +0200
1.28 -+++ gcc-4.3.0/gcc/config/alpha/alpha.opt 2008-06-10 14:44:06.000000000 +0200
1.29 -@@ -39,7 +39,7 @@
1.30 - Request IEEE-conformant math library routines (OSF/1)
1.31 -
1.32 - mieee
1.33 --Target Report RejectNegative Mask(IEEE)
1.34 -+Target Report Mask(IEEE)
1.35 - Emit IEEE-conformant code, without inexact exceptions
1.36 -
1.37 - mieee-with-inexact