mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-03 03:02:28 +00:00
Make progress towards aarch64 build
This commit is contained in:
parent
08ff26c817
commit
ca2860947f
15428 changed files with 25694 additions and 23138 deletions
|
@ -36,6 +36,10 @@ static noasan inline void __set_tls_win32(void *tls) {
|
|||
asm("mov\t%1,%%gs:%0" : "=m"(*((long *)0x1480 + __tls_index)) : "r"(tls));
|
||||
}
|
||||
|
||||
#elif defined(__aarch64__)
|
||||
#define __get_tls_privileged() ((struct CosmoTib *)__builtin_thread_pointer())
|
||||
#define __get_tls_win32() ((struct CosmoTib *)0)
|
||||
#define __set_tls_win32(tls) (void)0
|
||||
#endif /* GNU x86-64 */
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue