aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-11-12 14:28:43 -0800
committerRoland McGrath <roland@hack.frob.com>2014-11-12 14:28:43 -0800
commit60cef00a955b4fdd13aee925fa83d10854f0ffbd (patch)
tree3ee4b217afda3c15e66630cf9600d15686b9ccd3
parenteae0768b87dd92e1fa2235dc67c6d0eb4f4200cd (diff)
downloadglibc-60cef00a955b4fdd13aee925fa83d10854f0ffbd.zip
glibc-60cef00a955b4fdd13aee925fa83d10854f0ffbd.tar.gz
glibc-60cef00a955b4fdd13aee925fa83d10854f0ffbd.tar.bz2
Define THREAD_SYSINFO macros.
-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 */