aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps/x86_64/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/x86_64/tls.h')
-rw-r--r--linuxthreads/sysdeps/x86_64/tls.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/x86_64/tls.h b/linuxthreads/sysdeps/x86_64/tls.h
index a649898f3f..67e20b2ed9 100644
--- a/linuxthreads/sysdeps/x86_64/tls.h
+++ b/linuxthreads/sysdeps/x86_64/tls.h
@@ -109,6 +109,11 @@ typedef struct
_result ? "cannot set %fs base address for thread-local storage" : 0; \
})
+/* Indicate that dynamic linker shouldn't try to initialize TLS even
+ when no PT_TLS segments are found in the program and libraries
+ it is linked against. */
+# define TLS_INIT_TP_EXPENSIVE 1
+
/* Return the address of the dtv for the current thread. */
# define THREAD_DTV() \
({ struct _pthread_descr_struct *__descr; \