diff options
| author | joerg <joerg@NetBSD.org> | 2012-01-17 20:34:57 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2012-01-17 20:34:57 +0000 |
| commit | 02f755924cd2a1d86d3a382c841bb21398fab2e8 (patch) | |
| tree | b737e15d14bc7b17f946cbdfbc5c21ede2390474 /tests/libexec | |
| parent | e2873d26f6a1eddffed40122eae54ab978ad9e23 (diff) | |
Introduce __HAVE_NO___THREAD for sun2 and vax to disable the TLS usage.
Require __HAVE_TLS_VARIANT_I or __HAVE_TLS_VARIANT_II as well as
__lwp_getprivate_fast / __lwp_gettcb_fast to exist for libpthread.
Define VAX as going to use TLS variant I, if it is ever implemented.
Diffstat (limited to 'tests/libexec')
| -rw-r--r-- | tests/libexec/ld.elf_so/helper_dso1/h_helper_dso1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libexec/ld.elf_so/helper_dso1/h_helper_dso1.c b/tests/libexec/ld.elf_so/helper_dso1/h_helper_dso1.c index 7a314352167..e89e3ff4b77 100644 --- a/tests/libexec/ld.elf_so/helper_dso1/h_helper_dso1.c +++ b/tests/libexec/ld.elf_so/helper_dso1/h_helper_dso1.c @@ -31,7 +31,7 @@ #include <stddef.h> #include <sys/tls.h> -#if !defined(__HAVE_TLS_VARIANT_I) && !defined(__HAVE_TLS_VARIANT_II) +#ifdef __HAVE_NO___THREAD #define __thread #endif |
