Explorar o código

Replace use of int 80h with syscall in __restore_rt

Jeremy Soller %!s(int64=4) %!d(string=hai) anos
pai
achega
6b183aef26
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/header/signal/redox.rs

+ 1 - 1
src/header/signal/redox.rs

@@ -6,7 +6,7 @@ global_asm!(
     .global __restore_rt
     __restore_rt:
         mov $119, %rax
-        int $0x80
+        syscall
 "
 );
 // x8 is register, 119 is SIGRETURN