Fix remaining issues, move setjmp into relibc crate, move start logic into relibc
This commit is contained in:
+2
-2
@@ -13,7 +13,7 @@ pub unsafe extern "C" fn _start() {
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
asm!("mov rdi, rsp
|
||||
and rsp, 0xFFFFFFFFFFFFFFF0
|
||||
call _start_rust"
|
||||
call relibc_start"
|
||||
:
|
||||
:
|
||||
:
|
||||
@@ -21,7 +21,7 @@ pub unsafe extern "C" fn _start() {
|
||||
);
|
||||
#[cfg(target_arch = "aarch64")]
|
||||
asm!("mov x0, sp
|
||||
bl _start_rust"
|
||||
bl relibc_start"
|
||||
:
|
||||
:
|
||||
:
|
||||
|
||||
Reference in New Issue
Block a user