summaryrefslogtreecommitdiffstats
path: root/toolchain/eglibc/patches
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/eglibc/patches')
-rw-r--r--toolchain/eglibc/patches/2.9/901-glibc_bug_7048.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/toolchain/eglibc/patches/2.9/901-glibc_bug_7048.patch b/toolchain/eglibc/patches/2.9/901-glibc_bug_7048.patch
new file mode 100644
index 000000000..3d14a3883
--- /dev/null
+++ b/toolchain/eglibc/patches/2.9/901-glibc_bug_7048.patch
@@ -0,0 +1,14 @@
+http://sourceware.org/bugzilla/show_bug.cgi?id=7048
+
+--- a/libc/sysdeps/i386/dl-tlsdesc.S
++++ b/libc/sysdeps/i386/dl-tlsdesc.S
+@@ -128,8 +128,7 @@
+ .Lslow:
+ cfi_adjust_cfa_offset (28)
+ movl %ebx, 16(%esp)
+- call __i686.get_pc_thunk.bx
+- addl $_GLOBAL_OFFSET_TABLE_, %ebx
++ LOAD_PIC_REG(bx)
+ call ___tls_get_addr@PLT
+ movl 16(%esp), %ebx
+ jmp .Lret