From 3d2872efe317fa3185b45a35d1c76669585f89a8 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 3 Jul 2017 12:41:41 +0200 Subject: aarch64: finetuning, sync with glibc --- libc/sysdeps/linux/aarch64/clone.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/aarch64/clone.S') diff --git a/libc/sysdeps/linux/aarch64/clone.S b/libc/sysdeps/linux/aarch64/clone.S index 74984aabb..e3311d184 100644 --- a/libc/sysdeps/linux/aarch64/clone.S +++ b/libc/sysdeps/linux/aarch64/clone.S @@ -69,7 +69,8 @@ thread_start: blr x10 /* We are done, pass the return value through x0. */ - b HIDDEN_JUMPTARGET(_exit) + mov x8, #SYS_ify(exit) + svc 0x0 cfi_endproc .size thread_start, .-thread_start -- cgit v1.2.3