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:
parent
00fb5362ba
commit
dfe2d491c0
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user