diff options
| author | Mecso2 <mecsbal@gmail.com> | 2025-07-30 12:44:53 +0200 |
|---|---|---|
| committer | Mecso2 <mecsbal@gmail.com> | 2025-07-30 12:44:53 +0200 |
| commit | e54bf247468bd9d316ffe059bd7b3f923363478e (patch) | |
| tree | a3bc2617b07f466a2afd1fd97bcbb44692c6898d /base | |
| parent | 939fed592dfcd27e7eb14e4222a90a5b7852c0d7 (diff) | |
fix amd64 no-crt entry assembly
Diffstat (limited to 'base')
| -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 |