From 41f61cf70249cff7b5022a717cd760d89cbb9e85 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Fri, 10 Oct 2025 13:19:29 +0200 Subject: [ARM64_DYNAREC] Don't assume x1 is xRIP in link_next (fix regression introduced with 685afa230291d64f350afbfdfa8fc82536d99f82) --- src/dynarec/arm64/arm64_next.S | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dynarec') diff --git a/src/dynarec/arm64/arm64_next.S b/src/dynarec/arm64/arm64_next.S index 950b7dd3..bb913090 100644 --- a/src/dynarec/arm64/arm64_next.S +++ b/src/dynarec/arm64/arm64_next.S @@ -25,6 +25,7 @@ arm64_next: #ifdef _WIN32 ldr x18, [x0, 3120] #endif + mov x1, x27 // xRIP, should not be needed most of the time mov x2, x30 // "from" is in lr, so put in x2 add x3, sp, 8*11 // x3 is address to change rip // call the function -- cgit 1.4.1