diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-11-12 14:28:43 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-11-12 14:28:43 -0800 |
commit | 60cef00a955b4fdd13aee925fa83d10854f0ffbd (patch) | |
tree | 3ee4b217afda3c15e66630cf9600d15686b9ccd3 | |
parent | eae0768b87dd92e1fa2235dc67c6d0eb4f4200cd (diff) | |
download | glibc-60cef00a955b4fdd13aee925fa83d10854f0ffbd.zip glibc-60cef00a955b4fdd13aee925fa83d10854f0ffbd.tar.gz glibc-60cef00a955b4fdd13aee925fa83d10854f0ffbd.tar.bz2 |
Define THREAD_SYSINFO macros.
-rw-r--r-- | sysdeps/nacl/tls.h | 7 |
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 */ |