(rt_sigreturn): Make compatible with older kernels.

This commit is contained in:
Ulrich Drepper 1998-02-17 15:26:57 +00:00
parent d7d1f4badd
commit 09e8bdd3cd
1 changed files with 17 additions and 10 deletions

View File

@ -26,7 +26,7 @@
This just about halves signal delivery time. */
#ifdef __NR_rt_sigaction
.text
ENTRY(__syscall_rt_sigaction)
.frame sp,0,ra,0
@ -76,3 +76,10 @@ rt_sigreturn:
ldi v0,__NR_rt_sigreturn
callsys
.end rt_sigreturn
#else
ENTRY(__syscall_rt_sigaction)
ldgp $29,0($27)
ldi $0,ENOSYS
jmp __syscall_error
END(__syscall_rt_sigaction)
#endif