summaryrefslogtreecommitdiffstats
path: root/meta/packages/glibc/glibc-2.9/tls_i486.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/glibc/glibc-2.9/tls_i486.patch')
-rw-r--r--meta/packages/glibc/glibc-2.9/tls_i486.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/packages/glibc/glibc-2.9/tls_i486.patch b/meta/packages/glibc/glibc-2.9/tls_i486.patch
new file mode 100644
index 0000000000..69a1fdf91d
--- /dev/null
+++ b/meta/packages/glibc/glibc-2.9/tls_i486.patch
@@ -0,0 +1,14 @@
1Index: glibc-2.9/sysdeps/i386/dl-tlsdesc.S
2===================================================================
3--- glibc-2.9.orig/sysdeps/i386/dl-tlsdesc.S 2009-07-07 23:21:11.647664128 +0200
4+++ glibc-2.9/sysdeps/i386/dl-tlsdesc.S 2009-07-07 23:21:32.802555992 +0200
5@@ -128,8 +128,7 @@
6 .Lslow:
7 cfi_adjust_cfa_offset (28)
8 movl %ebx, 16(%esp)
9- call __i686.get_pc_thunk.bx
10- addl $_GLOBAL_OFFSET_TABLE_, %ebx
11+ LOAD_PIC_REG (bx)
12 call ___tls_get_addr@PLT
13 movl 16(%esp), %ebx
14 jmp .Lret