diff options
Diffstat (limited to 'elf')
-rw-r--r-- | elf/dl-load.c | 2 | ||||
-rw-r--r-- | elf/rtld.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c index cfa7f2525f..016a99cf93 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -1176,7 +1176,7 @@ cannot allocate TLS data structures for initial thread"); } /* Now we install the TCB in the thread register. */ - errstring = TLS_INIT_TP (tcb, 0); + errstring = TLS_INIT_TP (tcb); if (__glibc_likely (errstring == NULL)) { /* Now we are all good. */ diff --git a/elf/rtld.c b/elf/rtld.c index 87c5ffa510..71cc0dba68 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -641,7 +641,7 @@ cannot allocate TLS data structures for initial thread"); GL(dl_initial_dtv) = GET_DTV (tcbp); /* And finally install it for the main thread. */ - const char *lossage = TLS_INIT_TP (tcbp, 0); + const char *lossage = TLS_INIT_TP (tcbp); if (__glibc_unlikely (lossage != NULL)) _dl_fatal_printf ("cannot set up thread-local storage: %s\n", lossage); tls_init_tp_called = true; @@ -2114,7 +2114,7 @@ ERROR: ld.so: object '%s' cannot be loaded as audit interface: %s; ignored.\n", /* And finally install it for the main thread. */ if (! tls_init_tp_called) { - const char *lossage = TLS_INIT_TP (tcbp, 0); + const char *lossage = TLS_INIT_TP (tcbp); if (__glibc_unlikely (lossage != NULL)) _dl_fatal_printf ("cannot set up thread-local storage: %s\n", lossage); |