about summary refs log tree commit diff
path: root/elf/rtld.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/rtld.c')
-rw-r--r--elf/rtld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index a035a26c99..f59b8a77b0 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -1094,7 +1094,7 @@ cannot allocate TLS data structures for initial thread");
 
       /* Store for detection of the special case by __tls_get_addr
 	 so it knows not to pass this dtv to the normal realloc.  */
-      _dl_initial_dtv = GET_DTV (tcbp);
+      GL(dl_initial_dtv) = GET_DTV (tcbp);
     }
 #endif