summaryrefslogtreecommitdiff
path: root/csu/libc-tls.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2014-05-13 16:40:41 +0200
committerAndreas Schwab <schwab@suse.de>2014-05-27 14:48:46 +0200
commit774f928582fcfefb726f115772c001043aefa01c (patch)
tree25a1d36a397a74b00e2438caf52dfa5dfa0d3124 /csu/libc-tls.c
parent36ffe7398af5e5daa5745c64a15226d864378738 (diff)
Remove second argument from TLS_INIT_TP macro
Diffstat (limited to 'csu/libc-tls.c')
-rw-r--r--csu/libc-tls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/csu/libc-tls.c b/csu/libc-tls.c
index c18b888b31..dcb607c161 100644
--- a/csu/libc-tls.c
+++ b/csu/libc-tls.c
@@ -182,10 +182,10 @@ __libc_setup_tls (size_t tcbsize, size_t tcbalign)
#if TLS_TCB_AT_TP
INSTALL_DTV ((char *) tlsblock + tcb_offset, _dl_static_dtv);
- const char *lossage = TLS_INIT_TP ((char *) tlsblock + tcb_offset, 0);
+ const char *lossage = TLS_INIT_TP ((char *) tlsblock + tcb_offset);
#elif TLS_DTV_AT_TP
INSTALL_DTV (tlsblock, _dl_static_dtv);
- const char *lossage = TLS_INIT_TP (tlsblock, 0);
+ const char *lossage = TLS_INIT_TP (tlsblock);
#else
# error "Either TLS_TCB_AT_TP or TLS_DTV_AT_TP must be defined"
#endif