Skip to content

Commit

Permalink
fix: remove binary asm labels in libc
Browse files Browse the repository at this point in the history
  • Loading branch information
Azure-stars committed Jul 26, 2024
1 parent e331336 commit e3341f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/axlibc/src/setjmp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ pub unsafe extern "C" fn longjmp(_buf: *mut ctypes::__jmp_buf_tag, _val: c_int)
core::arch::asm!(
"mov rax,rsi
test rax,rax
jnz 1f
jnz 2f
inc rax
1:
2:
mov rbx, [rdi]
mov rbp, [rdi + 8]
mov r12, [rdi + 16]
Expand Down

0 comments on commit e3341f8

Please sign in to comment.