diff options
author | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2008-07-25 01:47:17 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2008-07-25 01:47:17 +0000 |
commit | 68446fb9940af94c377b2552a45d12d5e3e542e2 (patch) | |
tree | 5fbed6ba6fa9730c87fce88f5f630f92e5f593e1 /packages/glibc/files/glibc-2.6.1-use-short-for-fnstsw.patch | |
parent | 4cd01810c3a17b4d8e65383c363eb8eefbda36dc (diff) | |
parent | 3c011708443e648c0fdc52c796215266fbb95d4a (diff) |
merge of '3421ff70666434c0c8110de81d4810e43ef46a69'
and '7740f57201d1a3339463ab6ee1a56af6dbbd5b7a'
Diffstat (limited to 'packages/glibc/files/glibc-2.6.1-use-short-for-fnstsw.patch')
-rw-r--r-- | packages/glibc/files/glibc-2.6.1-use-short-for-fnstsw.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/packages/glibc/files/glibc-2.6.1-use-short-for-fnstsw.patch b/packages/glibc/files/glibc-2.6.1-use-short-for-fnstsw.patch new file mode 100644 index 0000000000..6979229279 --- /dev/null +++ b/packages/glibc/files/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. */ |