diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-10-10 13:19:29 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-10-10 13:19:29 +0200 |
| commit | 41f61cf70249cff7b5022a717cd760d89cbb9e85 (patch) | |
| tree | c0c11e1f285983ba9f91f94c305c21b17498fa87 | |
| parent | f0eab197be50e18b2040c92d1bc4612d264dbcd3 (diff) | |
| download | box64-41f61cf70249cff7b5022a717cd760d89cbb9e85.tar.gz box64-41f61cf70249cff7b5022a717cd760d89cbb9e85.zip | |
[ARM64_DYNAREC] Don't assume x1 is xRIP in link_next (fix regression introduced with 685afa230291d64f350afbfdfa8fc82536d99f82)
| -rw-r--r-- | src/dynarec/arm64/arm64_next.S | 1 |
1 files changed, 1 insertions, 0 deletions
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 |