Fix aarch64 build

This commit is contained in:
Justine Tunney 2025-01-02 22:19:49 -08:00
parent 538ce338f4
commit 27f2777cc6
No known key found for this signature in database
GPG key ID: BE714B4575D6E328

View file

@ -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);
}