summaryrefslogtreecommitdiffstats
path: root/recipes/glibc/glibc-2.9/tls_i486.patch
blob: 69a1fdf91d61ce83bd6db533f80b195044ade061 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: glibc-2.9/sysdeps/i386/dl-tlsdesc.S
===================================================================
--- glibc-2.9.orig/sysdeps/i386/dl-tlsdesc.S	2009-07-07 23:21:11.647664128 +0200
+++ glibc-2.9/sysdeps/i386/dl-tlsdesc.S	2009-07-07 23:21:32.802555992 +0200
@@ -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