mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-02 16:00:30 +00:00
Get llama.com working on aarch64
This commit is contained in:
parent
4c093155a3
commit
a0237a017c
19 changed files with 321 additions and 157 deletions
|
@ -37,7 +37,7 @@ static noasan inline void __set_tls_win32(void *tls) {
|
|||
}
|
||||
|
||||
#elif defined(__aarch64__)
|
||||
#define __get_tls_privileged() ((struct CosmoTib *)__builtin_thread_pointer())
|
||||
#define __get_tls_privileged() __get_tls()
|
||||
#define __get_tls_win32() ((struct CosmoTib *)0)
|
||||
#define __set_tls_win32(tls) (void)0
|
||||
#endif /* GNU x86-64 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue