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
This commit is contained in:
Oleksandr Tymoshenko 2008-04-29 23:15:23 +00:00
parent 00fb5362ba
commit dfe2d491c0

View File

@ -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