(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

View File

@ -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