diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-06 18:18:49 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-06 18:20:18 +0100 |
commit | 4a5ce6e908c6b45d976fb78b65434b489dc570b6 (patch) | |
tree | 5edeb5116e4748b00bc82be2c4247b424a207fd8 /sysdeps/x86_64/dl-tlsdesc.S | |
parent | fad7d57ef94bbb0254042cd213b6be2714c69df1 (diff) | |
download | glibc-4a5ce6e908c6b45d976fb78b65434b489dc570b6.zip glibc-4a5ce6e908c6b45d976fb78b65434b489dc570b6.tar.gz glibc-4a5ce6e908c6b45d976fb78b65434b489dc570b6.tar.bz2 |
hurd: Fix build without NO_HIDDEN
* sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET (___tls_get_addr).
* sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
Diffstat (limited to 'sysdeps/x86_64/dl-tlsdesc.S')
-rw-r--r-- | sysdeps/x86_64/dl-tlsdesc.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/x86_64/dl-tlsdesc.S b/sysdeps/x86_64/dl-tlsdesc.S index 6c4e6b6..437bd8c 100644 --- a/sysdeps/x86_64/dl-tlsdesc.S +++ b/sysdeps/x86_64/dl-tlsdesc.S @@ -128,7 +128,11 @@ _dl_tlsdesc_dynamic: movq %r10, 40(%rsp) movq %r11, 48(%rsp) /* %rdi already points to the tlsinfo data structure. */ +#ifdef NO_RTLD_HIDDEN + call JUMPTARGET (__tls_get_addr) +#else call HIDDEN_JUMPTARGET (__tls_get_addr) +#endif movq 8(%rsp), %rdx movq 16(%rsp), %rcx movq 24(%rsp), %r8 |