summaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorRuslan Bukin <br@FreeBSD.org>2017-08-07 14:09:57 +0000
committerRuslan Bukin <br@FreeBSD.org>2017-08-07 14:09:57 +0000
commitca20f8ec29d76ceb3b2d802d0c1ebf7a715558a9 (patch)
tree490db99d657a6c647fe622a690481570c3a41c9d /lib/libc/gen
parentb96793ae434b0c1254b3963516c2db4109bc9d7b (diff)
downloadsrc-test-ca20f8ec29d76ceb3b2d802d0c1ebf7a715558a9.tar.gz
src-test-ca20f8ec29d76ceb3b2d802d0c1ebf7a715558a9.zip
Notes
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/tls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/tls.c b/lib/libc/gen/tls.c
index 6cba47fe3d330..d0ae591ac21ac 100644
--- a/lib/libc/gen/tls.c
+++ b/lib/libc/gen/tls.c
@@ -66,7 +66,7 @@ void __libc_free_tls(void *tls, size_t tcbsize, size_t tcbalign);
#if defined(__amd64__)
#define TLS_TCB_ALIGN 16
#elif defined(__aarch64__) || defined(__arm__) || defined(__i386__) || \
- defined(__mips__) || defined(__powerpc__) || defined(__riscv__) || \
+ defined(__mips__) || defined(__powerpc__) || defined(__riscv) || \
defined(__sparc64__)
#define TLS_TCB_ALIGN sizeof(void *)
#else
@@ -74,7 +74,7 @@ void __libc_free_tls(void *tls, size_t tcbsize, size_t tcbalign);
#endif
#if defined(__aarch64__) || defined(__arm__) || defined(__mips__) || \
- defined(__powerpc__) || defined(__riscv__)
+ defined(__powerpc__) || defined(__riscv)
#define TLS_VARIANT_I
#endif
#if defined(__i386__) || defined(__amd64__) || defined(__sparc64__)