diff options
| author | Richard Purdie <richard@openedhand.com> | 2008-07-24 20:30:37 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2008-07-24 20:30:37 +0000 |
| commit | 87796f6ce02df30375057fac934685d109f99be3 (patch) | |
| tree | 419fb9887ca981ada36fc0071c8078f35d4f82f2 /meta/packages/glibc/files | |
| parent | f9651fac68352c9cfa6c616ae50f711c32e7bf32 (diff) | |
| download | poky-87796f6ce02df30375057fac934685d109f99be3.tar.gz | |
gcc: Add toolchain build process changes from OE which adds gcc-cross-intermediate and removes glibc-intermediate based on a patch from Khem Raj as will be aplied to OE.dev making the build process much more rebust/stable/correct.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4943 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/glibc/files')
| -rw-r--r-- | meta/packages/glibc/files/glibc-2.6.1-use-short-for-fnstsw.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/packages/glibc/files/glibc-2.6.1-use-short-for-fnstsw.patch b/meta/packages/glibc/files/glibc-2.6.1-use-short-for-fnstsw.patch new file mode 100644 index 0000000000..6979229279 --- /dev/null +++ b/meta/packages/glibc/files/glibc-2.6.1-use-short-for-fnstsw.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | Source: http://sourceware.org/ml/libc-alpha/2008-01/msg00017.html | ||
| 2 | |||
| 3 | I am checking this x86 assembler patch: | ||
| 4 | |||
| 5 | http://sourceware.org/ml/binutils/2008-01/msg00148.html | ||
| 6 | |||
| 7 | to check operand size. fnstsw stores 16bit into %ax. The upper | ||
| 8 | 16bit of %eax is unchanged. The new assembler will disallow | ||
| 9 | "fnstsw %eax". Here is a patch for glibc. | ||
| 10 | |||
| 11 | |||
| 12 | H.J. | ||
| 13 | |||
| 14 | --- | ||
| 15 | sysdeps/i386/fpu/ftestexcept.c | 2 +- | ||
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 17 | |||
| 18 | Index: glibc-2.6.1/sysdeps/i386/fpu/ftestexcept.c | ||
| 19 | =================================================================== | ||
| 20 | --- glibc-2.6.1.orig/sysdeps/i386/fpu/ftestexcept.c 2008-07-19 11:00:45.000000000 -0700 | ||
| 21 | +++ glibc-2.6.1/sysdeps/i386/fpu/ftestexcept.c 2008-07-19 11:01:25.000000000 -0700 | ||
| 22 | @@ -26,7 +26,7 @@ | ||
| 23 | int | ||
| 24 | fetestexcept (int excepts) | ||
| 25 | { | ||
| 26 | - int temp; | ||
| 27 | + short temp; | ||
| 28 | int xtemp = 0; | ||
| 29 | |||
| 30 | /* Get current exceptions. */ | ||
