summary refs log tree commit diff
path: root/sysdeps/i386/tlsdesc.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2021-02-11 13:24:47 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2021-04-21 14:35:53 +0100
commit2208066603a136f95cfb815ca9281262e6465784 (patch)
treed0e736af1a83ecebde010b71b5c08a0529ec3607 /sysdeps/i386/tlsdesc.c
parentb59c6989814f7ac966ee702789b34f32a1439aaf (diff)
downloadglibc-2208066603a136f95cfb815ca9281262e6465784.tar.gz
glibc-2208066603a136f95cfb815ca9281262e6465784.tar.xz
glibc-2208066603a136f95cfb815ca9281262e6465784.zip
elf: Remove lazy tlsdesc relocation related code
Remove generic tlsdesc code related to lazy tlsdesc processing since
lazy tlsdesc relocation is no longer supported.  This includes removing
GL(dl_load_lock) from _dl_make_tlsdesc_dynamic which is only called at
load time when that lock is already held.

Added a documentation comment too.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/i386/tlsdesc.c')
-rw-r--r--sysdeps/i386/tlsdesc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/i386/tlsdesc.c b/sysdeps/i386/tlsdesc.c
index 436a21f66b..364c7769ce 100644
--- a/sysdeps/i386/tlsdesc.c
+++ b/sysdeps/i386/tlsdesc.c
@@ -20,7 +20,6 @@
 #include <tls.h>
 #include <dl-tlsdesc.h>
 #include <dl-unmap-segments.h>
-#define _dl_tlsdesc_resolve_hold 0
 #include <tlsdeschtab.h>
 
 /* Unmap the dynamic object, but also release its TLS descriptor table