[Ada] Update signal constants for GNU/Linux
authorPatrick Bernardi <bernardi@adacore.com>
Wed, 14 Nov 2018 11:42:43 +0000 (11:42 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Wed, 14 Nov 2018 11:42:43 +0000 (11:42 +0000)
commit9989a43983116c05aca5c3b5fc30191524b73b94
treee211353fb4056a878deecdebb98793079b144e02
parentf1e2bf6571b64c39c1bd458b3a26f929a5f39ad9
[Ada] Update signal constants for GNU/Linux

Add the signal SIGSYS and mark the glibc reserved real-time signals
(32-34) as reserved rather than not maskable.

2018-11-14  Patrick Bernardi  <bernardi@adacore.com>

gcc/ada/

* libgnarl/a-intnam__linux.ads: Add SIGSYS.
* libgnarl/s-linux__alpha.ads, libgnarl/s-linux__android.ads,
libgnarl/s-linux__hppa.ads, libgnarl/s-linux__mips.ads,
libgnarl/s-linux__riscv.ads, libgnarl/s-linux__sparc.ads,
libgnarl/s-linux__x32.ads: Rename SIGLTHRRES, SIGLTHRCAN and
SIGLTHRDBG to SIG32, SIG33 and SIG34 as their names are
implementation specific.
* libgnarl/s-osinte__linux.ads, libgnarl/s-linux.ads: Add
SIGSYS.  Move SIG32, SIG33 and SIG34 from the unmasked list to
the reserved list.

gcc/testsuite/

* gnat.dg/rt_signals.adb: New testcase.

From-SVN: r266136
13 files changed:
gcc/ada/ChangeLog
gcc/ada/libgnarl/a-intnam__linux.ads
gcc/ada/libgnarl/s-linux.ads
gcc/ada/libgnarl/s-linux__alpha.ads
gcc/ada/libgnarl/s-linux__android.ads
gcc/ada/libgnarl/s-linux__hppa.ads
gcc/ada/libgnarl/s-linux__mips.ads
gcc/ada/libgnarl/s-linux__riscv.ads
gcc/ada/libgnarl/s-linux__sparc.ads
gcc/ada/libgnarl/s-linux__x32.ads
gcc/ada/libgnarl/s-osinte__linux.ads
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/rt_signals.adb [new file with mode: 0644]