diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-07-31 16:38:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-31 16:38:21 +0200 |
| commit | a41500de28181f016b8a53b87f524e153df4bf81 (patch) | |
| tree | e324a5d981c1ce6e936415040a12bcd2d68dde37 /base/runtime | |
| parent | 077ba0b6cbf0359a73cb4d50c54258012b5f2a23 (diff) | |
| parent | e54bf247468bd9d316ffe059bd7b3f923363478e (diff) | |
Merge pull request #5520 from Mecso2/master
fix amd64 no-crt entry assembly
Diffstat (limited to 'base/runtime')
| -rw-r--r-- | base/runtime/entry_unix_no_crt_amd64.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/runtime/entry_unix_no_crt_amd64.asm b/base/runtime/entry_unix_no_crt_amd64.asm index f0bdce8d7..1d2d3ccea 100644 --- a/base/runtime/entry_unix_no_crt_amd64.asm +++ b/base/runtime/entry_unix_no_crt_amd64.asm @@ -35,7 +35,7 @@ _start: xor rbp, rbp ;; Load argc into 1st param reg, argv into 2nd param reg pop rdi - mov rdx, rsi + mov rsi, rsp ;; Align stack pointer down to 16-bytes (sysv calling convention) and rsp, -16 ;; Call into odin entry point |