Align stack on x86_64
This commit is contained in:
@@ -15,6 +15,7 @@ use platform::types::*;
|
||||
pub unsafe extern "C" fn _start() {
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
asm!("mov rdi, rsp
|
||||
and rsp, 0xFFFFFFFFFFFFFFF0
|
||||
call _start_rust"
|
||||
:
|
||||
:
|
||||
|
||||
Reference in New Issue
Block a user