glibc/sysdeps/unix/sysv/linux/alpha
Adhemerval Zanella 56b98bf1fb alpha: Use Linux generic sigaction implementation
Alpha rt_sigaction syscall uses a slight different kernel ABI than
generic one:

arch/alpha/kernel/signal.c

 90 SYSCALL_DEFINE5(rt_sigaction, int, sig, const struct sigaction __user *, act,
 91                 struct sigaction __user *, oact,
 92                 size_t, sigsetsize, void __user *, restorer)

Similar as sparc, the syscall expects a restorer function.  However
different than sparc, alpha defines the restorer as the 5th argument
(sparc defines as the 4th).

This patch removes the arch-specific alpha sigaction implementation,
adapt the Linux generic one to different restore placements (through
STUB macro), and make alpha use the Linux generic kernel_sigaction
definition.

Checked on alpha-linux-gnu and x86_64-linux-gnu (for sanity).

	* sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
	__syscall_rt_sigaction.
	* sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
	(kernel_sigaction): Use Linux generic defintion.
	(STUB): Define.
	(__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
	* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
	(__syscall_rt_sigaction): Remove implementation.
	(__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
	hidden.
	* sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
	* sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
	INTERNAL_SYSCALL): Remove definitions.
	* sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
	action and signal set size.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
2018-12-18 19:52:21 -02:00
..
alpha
alphaev6/fpu
alphaev67/fpu
bits Use common bits/shm.h for more architectures. 2018-10-10 00:56:17 +00:00
fpu
sys Complete sys/procfs.h unification. 2018-09-25 16:50:30 +00:00
Implies
Makefile alpha: Use Linux generic sigaction implementation 2018-12-18 19:52:21 -02:00
Versions Alpha: Fix the RLIM_INFINITY and RLIM64_INFINITY constants 2018-01-05 20:34:10 +01:00
____longjmp_chk.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
a.out.h
adjtime.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
aio_cancel.c
brk.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
c++-types.data
clone.S alpha/clone.S: Invoke .set noat/.set at around explicit uses of $at 2018-03-10 15:17:18 -05:00
configure
configure.ac
dl-auxv.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
dl-brk.S
dl-fxstatat64.c
dl-support.c
dl-sysdep.c
fraiseexcpt.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fstatfs64.c
fstatvfs.c
fstatvfs64.c
fxstat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fxstatat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getclktck.c
getcontext.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getdents.c Consolidate Linux getdents{64} implementation 2018-04-19 08:49:52 -03:00
getdents64.c Consolidate Linux getdents{64} implementation 2018-04-19 08:49:52 -03:00
gethostname.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getrlimit64.c Alpha: Fix the RLIM_INFINITY and RLIM64_INFINITY constants 2018-01-05 20:34:10 +01:00
getsysstats.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
glob-lstat-compat.c posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
globfree.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ieee_get_fp_control.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ieee_set_fp_control.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
internal_statvfs64.c
ioperm.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ipc_priv.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
jmp_buf-macros.h Add jmp_buf-macros.h 2017-11-09 05:10:03 -08:00
kernel-features.h Remove __ASSUME_ST_INO_64_BIT. 2018-12-18 13:35:39 +00:00
kernel_sigaction.h alpha: Use Linux generic sigaction implementation 2018-12-18 19:52:21 -02:00
kernel_stat.h
kernel_sysinfo.h
kernel_termios.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ld.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libBrokenLocale.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libanl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libc.abilist Add getcpu 2018-12-07 09:17:50 -08:00
libcrypt.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libdl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libm.abilist Remove the error handling wrapper from pow 2018-11-21 09:58:36 +00:00
libnsl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libpthread.abilist nptl: Add abilist symbols for C11 threads 2018-07-24 14:07:18 -03:00
libresolv.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
librt.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libthread_db.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libutil.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
localplt.data ld.so: Introduce struct dl_exception 2017-08-10 16:54:57 +02:00
lxstat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
makecontext.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nldbl-abi.h
oldglob.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pipe.S
pt-vfork.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
register-dump.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
rt_sigaction.S alpha: Use Linux generic sigaction implementation 2018-12-18 19:52:21 -02:00
select.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setcontext.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setfpucw.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setrlimit64.c Alpha: Fix the RLIM_INFINITY and RLIM64_INFINITY constants 2018-01-05 20:34:10 +01:00
shlib-versions
sigcontextinfo.h Remove unused frame.h header, sigcontextinfo.h macros. 2018-03-22 16:40:51 +00:00
sigprocmask.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sizes.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
statfs64.c
statvfs.c
statvfs64.c
swapcontext.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
syscall.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
syscalls.list Consolidate Linux select implementation 2017-05-03 10:36:36 -03:00
sysconf.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sysdep.h alpha: Use Linux generic sigaction implementation 2018-12-18 19:52:21 -02:00
timer_create.c
timer_delete.c
timer_getoverr.c
timer_gettime.c
timer_settime.c
ucontext-offsets.sym Fix mcontext_t sigcontext namespace (bug 21457). 2017-08-30 22:02:04 +00:00
vfork.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
wordexp.c
xstat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
xstatconv.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
xstatconv.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00