]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define THREAD_SYSINFO macros.
authorRoland McGrath <roland@hack.frob.com>
Wed, 12 Nov 2014 22:28:43 +0000 (14:28 -0800)
committerRoland McGrath <roland@hack.frob.com>
Wed, 12 Nov 2014 22:28:43 +0000 (14:28 -0800)
sysdeps/nacl/tls.h

index 36d0b5b3df1a8ddbb84e48c482392ead04b6209b..dcfa2e863c5c66799f6267332aaa4e44156486f1 100644 (file)
 # 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 */