mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
Fix aarch64 build
This commit is contained in:
parent
538ce338f4
commit
27f2777cc6
1 changed files with 2 additions and 0 deletions
|
@ -538,7 +538,9 @@ int sys_clone_linux(int flags, // rdi
|
|||
|
||||
dontinstrument static int AmdLinuxThreadEntry(void *arg) {
|
||||
struct LinuxCloneArgs *wt = arg;
|
||||
#if defined(__x86_64__)
|
||||
sys_set_tls(ARCH_SET_GS, wt->tls);
|
||||
#endif
|
||||
return wt->func(wt->arg);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue