From: Roland McGrath Date: Wed, 12 Nov 2014 22:28:43 +0000 (-0800) Subject: Define THREAD_SYSINFO macros. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60cef00a955b4fdd13aee925fa83d10854f0ffbd;p=thirdparty%2Fglibc.git Define THREAD_SYSINFO macros. --- 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 */