aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/glibc/glibc-2.6.1/glibc-2.6.1-use-short-for-fnstsw.patch
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-08-15 19:40:43 +0200
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-08-15 19:40:43 +0200
commitd6d14c33e9f90e05d04d9022babe53260578561b (patch)
tree17f6dbfa5b2b4ed16328e6f102383b7f717d4edd /recipes/glibc/glibc-2.6.1/glibc-2.6.1-use-short-for-fnstsw.patch
parente0bda104a2b2e9e85a478ad15e473358ae992352 (diff)
downloadopenembedded-d6d14c33e9f90e05d04d9022babe53260578561b.tar.gz
glibc-2.6.1: added missing files
we lost some files in this commit: http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=dd7a49ac1158de431ad5dc9089c49f737a8123a6 this patch adds the missing files Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/glibc/glibc-2.6.1/glibc-2.6.1-use-short-for-fnstsw.patch')
-rw-r--r--recipes/glibc/glibc-2.6.1/glibc-2.6.1-use-short-for-fnstsw.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes/glibc/glibc-2.6.1/glibc-2.6.1-use-short-for-fnstsw.patch b/recipes/glibc/glibc-2.6.1/glibc-2.6.1-use-short-for-fnstsw.patch
new file mode 100644
index 0000000000..6979229279
--- /dev/null
+++ b/recipes/glibc/glibc-2.6.1/glibc-2.6.1-use-short-for-fnstsw.patch
@@ -0,0 +1,30 @@
+Source: http://sourceware.org/ml/libc-alpha/2008-01/msg00017.html
+
+I am checking this x86 assembler patch:
+
+http://sourceware.org/ml/binutils/2008-01/msg00148.html
+
+to check operand size. fnstsw stores 16bit into %ax. The upper
+16bit of %eax is unchanged. The new assembler will disallow
+"fnstsw %eax". Here is a patch for glibc.
+
+
+H.J.
+
+---
+ sysdeps/i386/fpu/ftestexcept.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: glibc-2.6.1/sysdeps/i386/fpu/ftestexcept.c
+===================================================================
+--- glibc-2.6.1.orig/sysdeps/i386/fpu/ftestexcept.c 2008-07-19 11:00:45.000000000 -0700
++++ glibc-2.6.1/sysdeps/i386/fpu/ftestexcept.c 2008-07-19 11:01:25.000000000 -0700
+@@ -26,7 +26,7 @@
+ int
+ fetestexcept (int excepts)
+ {
+- int temp;
++ short temp;
+ int xtemp = 0;
+
+ /* Get current exceptions. */