diff options
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/allocatestack.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/nptl/allocatestack.c b/nptl/allocatestack.c index 6402ea43f2..8a228ab254 100644 --- a/nptl/allocatestack.c +++ b/nptl/allocatestack.c @@ -1191,11 +1191,6 @@ init_one_static_tls (struct pthread *curp, struct link_map *map) # error "Either TLS_TCB_AT_TP or TLS_DTV_AT_TP must be defined" # endif - /* Fill in the DTV slot so that a later LD/GD access will find it. */ - dtv_t *dtv = GET_DTV (TLS_TPADJ (curp)); - dtv[map->l_tls_modid].pointer.to_free = NULL; - dtv[map->l_tls_modid].pointer.val = dest; - /* Initialize the memory. */ memset (__mempcpy (dest, map->l_tls_initimage, map->l_tls_initimage_size), '\0', map->l_tls_blocksize - map->l_tls_initimage_size); |