summaryrefslogtreecommitdiff
path: root/patches/glibc/2.7/170-use_short_for_fnstsw.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2016-11-10 01:35:27 (GMT)
committerGitHub <noreply@github.com>2016-11-10 01:35:27 (GMT)
commita76c549823fd0063de999786b6dc583847db091e (patch)
tree04a51e165125497bbcb1b1d8865958c4cd14de5b /patches/glibc/2.7/170-use_short_for_fnstsw.patch
parent23e9a03a3f4a5eaded6cadbe4d808997879450d1 (diff)
parentdc280e477d6af7702e2481c17af20a7db83814d9 (diff)
Merge pull request #452 from KirillSmirnov/janitorial
Janitorial: update patches
Diffstat (limited to 'patches/glibc/2.7/170-use_short_for_fnstsw.patch')
-rw-r--r--patches/glibc/2.7/170-use_short_for_fnstsw.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/patches/glibc/2.7/170-use_short_for_fnstsw.patch b/patches/glibc/2.7/170-use_short_for_fnstsw.patch
deleted file mode 100644
index 722f8d2..0000000
--- a/patches/glibc/2.7/170-use_short_for_fnstsw.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Original patch from H.J. Lu, as reported there:
-http://www.nabble.com/PATCH:-Use-short-for-fnstsw-td14775171.html
-
-fnstsw stores 16bit into %ax. The upper 16bit of %eax is unchanged.
-The new assembler (binutils-2.18.50.0.4 and up) will disallow "fnstsw %eax".
-
-diff -dur glibc-2.7.orig/sysdeps/i386/fpu/ftestexcept.c glibc-2.7/sysdeps/i386/fpu/ftestexcept.c
---- glibc-2.7.orig/sysdeps/i386/fpu/ftestexcept.c 2004-03-05 11:14:48.000000000 +0100
-+++ glibc-2.7/sysdeps/i386/fpu/ftestexcept.c 2008-06-24 10:54:43.000000000 +0200
-@@ -26,7 +26,7 @@
- int
- fetestexcept (int excepts)
- {
-- int temp;
-+ short temp;
- int xtemp = 0;
-
- /* Get current exceptions. */