glibc/sysdeps/unix/sysv/linux/powerpc
Adhemerval Zanella 43a45c2d82 m68k: Fix sigaction kernel definition (BZ #23960)
Commit b4a5d26d88 (linux: Consolidate sigaction implementation) added
a wrong kernel_sigaction definition for m68k, meant for __NR_sigaction
instead of __NR_rt_sigaction as used on generic Linux sigaction
implementation.  This patch fixes it by using the Linux generic
definition meant for the RT kernel ABI.

Checked the signal tests on emulated m68-linux-gnu (Aranym).  It fixes
the faulty signal/tst-sigaction and man works as expected.

	Adhemerval Zanella  <adhemerval.zanella@linaro.org>
	James Clarke  <jrtc27@jrtc27.com>

	[BZ #23960]
	* sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
	Define if SA_RESTORER is defined.
	(kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
	(SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
	already defined.
	* sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
	kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
	definitions.
	(HAS_SA_RESTORER): Define.
	* sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
	SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
	(HAS_SA_RESTORER): Define.
	* sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
	kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
	* sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2018-12-18 16:45:10 -02:00
..
bits Y2038: provide size of default time_t for target architecture 2018-10-24 11:37:09 +02:00
powerpc32 Add getcpu 2018-12-07 09:17:50 -08:00
powerpc64 Move *-le.abilist to le/*.abilist 2018-12-10 14:30:05 +01:00
sys Unify some sys/procfs.h headers. 2018-09-25 16:48:15 +00:00
Implies
Makefile
Versions
configure
configure.ac
dl-brk.S
dl-cache.h
dl-static.c
dl-sysdep.c
elision-conf.c powerpc: Only enable TLE with PPC_FEATURE2_HTM_NOSC 2018-09-21 10:18:03 -07:00
elision-conf.h
elision-lock.c powerpc: Fix TLE build for SPE (BZ #22926) 2018-03-07 17:39:44 -03:00
elision-timed.c
elision-trylock.c powerpc: Fix TLE build for SPE (BZ #22926) 2018-03-07 17:39:44 -03:00
elision-unlock.c powerpc: Fix TLE build for SPE (BZ #22926) 2018-03-07 17:39:44 -03:00
force-elision.h Fix race in pthread_mutex_lock while promoting to PTHREAD_MUTEX_ELISION_NP [BZ #23275] 2018-10-17 12:23:04 +02:00
get_clockfreq.c
get_timebase_freq.c
getmsg.c
gettimeofday.c
htm.h
init-first.c Enable VDSO on powerpc statically linked programs (bug 19767) 2018-11-26 11:37:19 -02:00
ioctl.c
ipc_priv.h
kernel-features.h Remove __ASSUME_SOCKETCALL. 2018-11-08 20:28:07 +00:00
kernel_sigaction.h m68k: Fix sigaction kernel definition (BZ #23960) 2018-12-18 16:45:10 -02:00
kernel_termios.h
ldconfig.h
ldd-rewrite.sed
ldsodefs.h
libc-start.c
libc-start.h hurd: Initialize TLS and libpthread before signal thread start 2018-03-25 00:52:39 +01:00
libc-vdso.h Enable VDSO on powerpc statically linked programs (bug 19767) 2018-11-26 11:37:19 -02:00
lowlevellock.h
nldbl-abi.h
profil-counter.h
pt-longjmp.c
pthread_attr_setstack.c
pthread_attr_setstacksize.c
pthread_mutex_cond_lock.c
pthread_mutex_lock.c
pthread_mutex_timedlock.c
pthread_mutex_trylock.c
putmsg.c
readelflib.c
rt-sysdep.c
sigcontextinfo.h Remove unused frame.h header, sigcontextinfo.h macros. 2018-03-22 16:40:51 +00:00
syscall.S powerpc: Only enable TLE with PPC_FEATURE2_HTM_NOSC 2018-09-21 10:18:03 -07:00
sysconf.c
sysdep.c
test-gettimebasefreq.c
test-powerpc-linux-sysconf.c
time.c