about summary refs log tree commit diff
path: root/sysdeps/generic/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/tls.h')
-rw-r--r--sysdeps/generic/tls.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/generic/tls.h b/sysdeps/generic/tls.h
index 38f84acd46..6a23ec05e1 100644
--- a/sysdeps/generic/tls.h
+++ b/sysdeps/generic/tls.h
@@ -65,10 +65,12 @@
      use the value.
 
 
-     TLS_INIT_TP(tcb)
+     TLS_INIT_TP(tcb, firstcall)
 
      This macro must initialize the thread pointer to enable normal TLS
-     operation.  The parameter is a pointer to the thread control block.
+     operation.  The first parameter is a pointer to the thread control
+     block.  The second parameter specifies whether this is the first
+     call for the TCB.  ld.so calls this macro more than once.
 
 
      THREAD_DTV()