diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-03-28 13:34:41 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-03-28 13:34:41 +0000 |
commit | aeddc2708dfec1daf0dd71a9afd41bcd98fe6ee0 (patch) | |
tree | c1f02b666c42e7d0493064b072e8b80201f03aca /patches/glibc/2.9/240-i386-LOAD_PIC_REG.patch | |
parent | 91a189c7ba35f9a723c986c3b90873db0f4366b9 (diff) | |
download | crosstool-ng-aeddc2708dfec1daf0dd71a9afd41bcd98fe6ee0.tar.gz crosstool-ng-aeddc2708dfec1daf0dd71a9afd41bcd98fe6ee0.tar.bz2 crosstool-ng-aeddc2708dfec1daf0dd71a9afd41bcd98fe6ee0.zip |
Rename patch dir for glibc-2.9: version string is 2.9, not 2_9.
Diffstat (limited to 'patches/glibc/2.9/240-i386-LOAD_PIC_REG.patch')
-rw-r--r-- | patches/glibc/2.9/240-i386-LOAD_PIC_REG.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/patches/glibc/2.9/240-i386-LOAD_PIC_REG.patch b/patches/glibc/2.9/240-i386-LOAD_PIC_REG.patch new file mode 100644 index 00000000..1c696919 --- /dev/null +++ b/patches/glibc/2.9/240-i386-LOAD_PIC_REG.patch @@ -0,0 +1,23 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/1050_all_glibc-i386-LOAD_PIC_REG.patch + +-= BEGIN original header =- +From e41177ea18a77a7f62328293b4fd49ae17482e77 Mon Sep 17 00:00:00 2001 +From: Ulrich Drepper <drepper@redhat.com> +Date: Sat, 6 Dec 2008 00:15:17 +0000 +Subject: [PATCH] (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG instead of doing things manually. + +-= END original header =- + +diff -durN glibc-2_9.orig/sysdeps/i386/dl-tlsdesc.S glibc-2_9/sysdeps/i386/dl-tlsdesc.S +--- glibc-2_9.orig/sysdeps/i386/dl-tlsdesc.S 2008-05-13 07:33:06.000000000 +0200 ++++ glibc-2_9/sysdeps/i386/dl-tlsdesc.S 2009-02-02 22:00:56.000000000 +0100 +@@ -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 |