diff options
Diffstat (limited to 'libc/ports/sysdeps/unix/mips/mips32/sysdep.h')
-rw-r--r-- | libc/ports/sysdeps/unix/mips/mips32/sysdep.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/ports/sysdeps/unix/mips/mips32/sysdep.h b/libc/ports/sysdeps/unix/mips/mips32/sysdep.h index d7d389253..5d96d05c6 100644 --- a/libc/ports/sysdeps/unix/mips/mips32/sysdep.h +++ b/libc/ports/sysdeps/unix/mips/mips32/sysdep.h @@ -24,8 +24,11 @@ #ifdef __PIC__ #define PSEUDO(name, syscall_name, args) \ .align 2; \ + .set nomips16; \ + cfi_startproc; \ 99: la t9,__syscall_error; \ jr t9; \ + cfi_endproc; \ ENTRY(name) \ .set noreorder; \ .cpload t9; \ @@ -37,9 +40,12 @@ L(syse1): #else #define PSEUDO(name, syscall_name, args) \ .set noreorder; \ + .set nomips16; \ .align 2; \ + cfi_startproc; \ 99: j __syscall_error; \ nop; \ + cfi_endproc; \ ENTRY(name) \ .set noreorder; \ li v0, SYS_ify(syscall_name); \ |