mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
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
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue