diff options
Diffstat (limited to 'meta/packages/gcc/gcc-4.3.1/debian/alpha-ieee-doc.dpatch')
-rw-r--r-- | meta/packages/gcc/gcc-4.3.1/debian/alpha-ieee-doc.dpatch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-4.3.1/debian/alpha-ieee-doc.dpatch b/meta/packages/gcc/gcc-4.3.1/debian/alpha-ieee-doc.dpatch new file mode 100644 index 0000000000..b4976bf847 --- /dev/null +++ b/meta/packages/gcc/gcc-4.3.1/debian/alpha-ieee-doc.dpatch | |||
@@ -0,0 +1,44 @@ | |||
1 | #! /bin/sh -e | ||
2 | |||
3 | # DP: #212912 | ||
4 | # DP: on alpha-linux, make -mieee default and add -mieee-disable switch | ||
5 | # DP: to turn default off (doc patch) | ||
6 | |||
7 | dir= | ||
8 | if [ $# -eq 3 -a "$2" = '-d' ]; then | ||
9 | pdir="-d $3" | ||
10 | dir="$3/" | ||
11 | elif [ $# -ne 1 ]; then | ||
12 | echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | ||
13 | exit 1 | ||
14 | fi | ||
15 | case "$1" in | ||
16 | -patch) | ||
17 | patch $pdir -f --no-backup-if-mismatch -p1 < $0 | ||
18 | ;; | ||
19 | -unpatch) | ||
20 | patch $pdir -f --no-backup-if-mismatch -R -p1 < $0 | ||
21 | ;; | ||
22 | *) | ||
23 | echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | ||
24 | exit 1 | ||
25 | esac | ||
26 | exit 0 | ||
27 | |||
28 | |||
29 | --- src/gcc/doc/invoke.texi~ 2005-09-29 20:00:57.638380128 +0200 | ||
30 | +++ src/gcc/doc/invoke.texi 2005-09-30 22:23:22.922502992 +0200 | ||
31 | @@ -7670,6 +7670,13 @@ | ||
32 | values such as not-a-number and plus/minus infinity. Other Alpha | ||
33 | compilers call this option @option{-ieee_with_no_inexact}. | ||
34 | |||
35 | +DEBIAN SPECIFIC: This option is on by default, unless | ||
36 | +@option{-ffinite-math-only} (which is part of the @option{-ffast-math} | ||
37 | +set) is specified, because the software functions in the GNU libc math | ||
38 | +libraries generate denormalized numbers, NaNs, and infs (all of which | ||
39 | +will cause a programs to SIGFPE when it attempts to use the results without | ||
40 | +@option{-mieee}). | ||
41 | + | ||
42 | @item -mieee-with-inexact | ||
43 | @opindex mieee-with-inexact | ||
44 | This is like @option{-mieee} except the generated code also maintains | ||