Correct more asm! usages

This commit is contained in:
Jeremy Soller
2020-08-02 13:38:29 -06:00
parent 12777ba774
commit 5d45042d5d
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -7,7 +7,7 @@
#[no_mangle]
pub unsafe extern "C" fn _start() {
#[cfg(target_arch = "x86_64")]
asm!("
llvm_asm!("
# rsi = _start + 5
call next
next: pop rsi
@@ -41,7 +41,7 @@ next: pop rsi
: "intel", "volatile"
);
#[cfg(target_arch = "aarch64")]
asm!("
llvm_asm!("
mov x0, sp
bl ld_so_start
TODO