Fix remaining issues, move setjmp into relibc crate, move start logic into relibc

This commit is contained in:
Jeremy Soller
2018-08-26 12:28:27 -06:00
parent c63c930e4a
commit ed00ddfb54
37 changed files with 8 additions and 7 deletions
+2 -2
View File
@@ -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"
:
:
: