mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[libc] Fix random SSE alignment GP faults
The libc CRT _start function had a stray pop left in it, which was causing the stack to never be 16-byte aligned and thus causing crashes when SSE instructions were called.
This commit is contained in:
@@ -17,7 +17,7 @@ _libc_crt0_start:
|
||||
|
||||
call __init_libc
|
||||
|
||||
pop rdi
|
||||
mov rdi, 0
|
||||
mov rsi, rsp
|
||||
mov rdx, 0 ; TODO: actually parse stack for argc, argv, envp
|
||||
mov rcx, rbx
|
||||
|
||||
Reference in New Issue
Block a user