mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-11 11:50:06 +00:00
(rt_sigreturn): Make compatible with older kernels.
This commit is contained in:
parent
d7d1f4badd
commit
09e8bdd3cd
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1998 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1998 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Richard Henderson <rth@cygnus.com>, 1998
|
||||
|
||||
@ -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
Block a user