FIX: Stack alignment in printf()
This commit is contained in:
@@ -84,7 +84,6 @@ puts:
|
||||
printf:
|
||||
push rbp
|
||||
mov rbp, rsp
|
||||
sub rsp, SIZE_QWORD
|
||||
|
||||
cmp byte [rdi], EOS
|
||||
je .emptyStr
|
||||
@@ -287,6 +286,5 @@ printf:
|
||||
xor rax, rax
|
||||
|
||||
.quit:
|
||||
add rsp, SIZE_QWORD
|
||||
leave
|
||||
ret
|
||||
|
Reference in New Issue
Block a user