From caae5a8b272861607c25f8ed86087bae960a07f0 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 1 Jul 2025 11:57:40 -0400 Subject: fix register name usage in aarch64 clone.s the alias fp is only supported on some assemblers. use the actual register name x29 instead. --- src/thread/aarch64/clone.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/thread/aarch64/clone.s b/src/thread/aarch64/clone.s index 9ac272bd..aff8155b 100644 --- a/src/thread/aarch64/clone.s +++ b/src/thread/aarch64/clone.s @@ -24,7 +24,7 @@ __clone: // parent ret // child -1: mov fp, 0 +1: mov x29, 0 ldp x1,x0,[sp],#16 blr x1 mov x8,#93 // SYS_exit -- cgit v1.2.1