aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysdeps/nacl/tls.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/nacl/tls.h b/sysdeps/nacl/tls.h
index 36d0b5b..dcfa2e8 100644
--- a/sysdeps/nacl/tls.h
+++ b/sysdeps/nacl/tls.h
@@ -29,6 +29,13 @@
# define TLS_INIT_TP(tcbp) \
((*__nacl_irt_tls.tls_init) (tcbp) == 0 ? NULL : "tls_init call failed")
+/* Our use of dl_sysinfo is rather different from the Linux syscall
+ entry-point case. We never need a thread-local copy of the value. */
+# undef SETUP_THREAD_SYSINFO
+# undef CHECK_THREAD_SYSINFO
+# define SETUP_THREAD_SYSINFO(pd) ((void) (pd))
+# define CHECK_THREAD_SYSINFO(pd) ((void) (pd))
+
#endif /* __ASSEMBLER__ */
#endif /* tls.h */