mirror of git://sourceware.org/git/glibc.git
(rt_sigreturn): Make compatible with older kernels.
This commit is contained in:
parent
d7d1f4badd
commit
09e8bdd3cd
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue