Skip to content

Commit

Permalink
Fix aarch64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
jart committed Jan 3, 2025
1 parent 538ce33 commit 27f2777
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libc/runtime/clone.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 27f2777

Please sign in to comment.