]> sourceware.org Git - glibc.git/commit
signal: Add signum-{generic,arch}.h
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 22 Apr 2020 14:02:11 +0000 (11:02 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 7 Jul 2020 17:10:58 +0000 (14:10 -0300)
commite4e11b1dba261cb650e631978622bf3b4a4d8c37
tree41a98016f1a62f0c35beb5df160c89707af1a02e
parent6caddd34bd7ffb5ac4f36c8e036eee100c2cc535
signal: Add signum-{generic,arch}.h

It refactor how signals are defined by each architecture.  Instead of
include a generic header (bits/signum-generic.h) and undef non-default
values in an arch specific header (bits/signum.h) the new scheme uses a
common definition (bits/signum-generic.h) and each architectures add
its specific definitions on a new header (bits/signum-arch.h).

For Linux it requires copy some system default definitions to alpha,
hppa, and sparc.  They are historical values and newer ports uses
the generic Linux signum-arch.h.

For Hurd the BSD signum is removed and moved to a new header (it is
used currently only on Hurd).

Checked on a build against all affected ABIs.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
18 files changed:
bits/signum-arch.h [new file with mode: 0644]
bits/signum-generic.h
bits/signum.h [deleted file]
signal/Makefile
signal/signal.h
sysdeps/mach/hurd/bits/signum-arch.h [new file with mode: 0644]
sysdeps/unix/bsd/bits/signum.h [deleted file]
sysdeps/unix/sysv/linux/alpha/bits/signum-arch.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/alpha/bits/signum.h [deleted file]
sysdeps/unix/sysv/linux/bits/signum-arch.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/bits/signum.h [deleted file]
sysdeps/unix/sysv/linux/hppa/bits/signum-arch.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/hppa/bits/signum.h [deleted file]
sysdeps/unix/sysv/linux/ia64/vfork.S
sysdeps/unix/sysv/linux/mips/bits/signum-arch.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/mips/bits/signum.h [deleted file]
sysdeps/unix/sysv/linux/sparc/bits/signum-arch.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/sparc/bits/signum.h [deleted file]
This page took 0.046185 seconds and 5 git commands to generate.