about summary refs log tree commit diff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-06 18:18:49 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-06 18:20:18 +0100
commit4a5ce6e908c6b45d976fb78b65434b489dc570b6 (patch)
tree5edeb5116e4748b00bc82be2c4247b424a207fd8 /sysdeps/i386
parentfad7d57ef94bbb0254042cd213b6be2714c69df1 (diff)
downloadglibc-4a5ce6e908c6b45d976fb78b65434b489dc570b6.tar.gz
glibc-4a5ce6e908c6b45d976fb78b65434b489dc570b6.tar.xz
glibc-4a5ce6e908c6b45d976fb78b65434b489dc570b6.zip
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/i386')
-rw-r--r--sysdeps/i386/dl-tlsdesc.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/i386/dl-tlsdesc.S b/sysdeps/i386/dl-tlsdesc.S
index 8c2c40b7ec..2c4764d1aa 100644
--- a/sysdeps/i386/dl-tlsdesc.S
+++ b/sysdeps/i386/dl-tlsdesc.S
@@ -126,7 +126,11 @@ _dl_tlsdesc_dynamic:
 	.p2align 4,,7
 .Lslow:
 	cfi_adjust_cfa_offset (28)
+#ifdef NO_RTLD_HIDDEN
+	call	JUMPTARGET (___tls_get_addr)
+#else
 	call	HIDDEN_JUMPTARGET (___tls_get_addr)
+#endif
 	jmp	.Lret
 	cfi_endproc
 	.size	_dl_tlsdesc_dynamic, .-_dl_tlsdesc_dynamic