diff options
author | gonzo <gonzo@FreeBSD.org> | 2008-04-29 23:15:23 +0000 |
---|---|---|
committer | gonzo <gonzo@FreeBSD.org> | 2008-04-29 23:15:23 +0000 |
commit | 89a95d6d44a4e655304384ecc0b8f4932cf07a06 (patch) | |
tree | cb6e31a0a99727d7acfbbfae66b08b926fae6fa3 /lib/libc/gen/tls.c | |
parent | 1a49460b169e94ceaa27e3071b35040d9aa06158 (diff) | |
download | FreeBSD-src-89a95d6d44a4e655304384ecc0b8f4932cf07a06.zip FreeBSD-src-89a95d6d44a4e655304384ecc0b8f4932cf07a06.tar.gz |
o Add MIPS to the list of architectures with defined TLS_TCB_ALIGN
o Stick with TLS Variant II for MIPS for the moment.
Approved by: imp
Diffstat (limited to 'lib/libc/gen/tls.c')
-rw-r--r-- | lib/libc/gen/tls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/tls.c b/lib/libc/gen/tls.c index a669f99..2756e94 100644 --- a/lib/libc/gen/tls.c +++ b/lib/libc/gen/tls.c @@ -60,7 +60,7 @@ void __libc_free_tls(void *tls, size_t tcbsize, size_t tcbalign); #if defined(__ia64__) || defined(__amd64__) #define TLS_TCB_ALIGN 16 #elif defined(__powerpc__) || defined(__i386__) || defined(__arm__) || \ - defined(__sparc64__) + defined(__sparc64__) || defined(__mips__) #define TLS_TCB_ALIGN sizeof(void *) #else #error TLS_TCB_ALIGN undefined for target architecture @@ -70,7 +70,7 @@ void __libc_free_tls(void *tls, size_t tcbsize, size_t tcbalign); #define TLS_VARIANT_I #endif #if defined(__i386__) || defined(__amd64__) || defined(__sparc64__) || \ - defined(__arm__) + defined(__arm__) || defined(__mips__) #define TLS_VARIANT_II #endif |