From 60cef00a955b4fdd13aee925fa83d10854f0ffbd Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 12 Nov 2014 14:28:43 -0800 Subject: [PATCH] Define THREAD_SYSINFO macros. --- sysdeps/nacl/tls.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sysdeps/nacl/tls.h b/sysdeps/nacl/tls.h index 36d0b5b3df1..dcfa2e863c5 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 */ -- 2.47.2