mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-20 05:32:18 +03:00
(rt_sigreturn): Make compatible with older kernels.
This commit is contained in:
@@ -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.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Richard Henderson <rth@cygnus.com>, 1998
|
Contributed by Richard Henderson <rth@cygnus.com>, 1998
|
||||||
|
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
This just about halves signal delivery time. */
|
This just about halves signal delivery time. */
|
||||||
|
|
||||||
|
#ifdef __NR_rt_sigaction
|
||||||
.text
|
.text
|
||||||
ENTRY(__syscall_rt_sigaction)
|
ENTRY(__syscall_rt_sigaction)
|
||||||
.frame sp,0,ra,0
|
.frame sp,0,ra,0
|
||||||
@@ -76,3 +76,10 @@ rt_sigreturn:
|
|||||||
ldi v0,__NR_rt_sigreturn
|
ldi v0,__NR_rt_sigreturn
|
||||||
callsys
|
callsys
|
||||||
.end rt_sigreturn
|
.end rt_sigreturn
|
||||||
|
#else
|
||||||
|
ENTRY(__syscall_rt_sigaction)
|
||||||
|
ldgp $29,0($27)
|
||||||
|
ldi $0,ENOSYS
|
||||||
|
jmp __syscall_error
|
||||||
|
END(__syscall_rt_sigaction)
|
||||||
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user