diff options
author | Joseph Myers <joseph@codesourcery.com> | 2018-09-17 12:41:14 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2018-09-17 12:41:14 +0000 |
commit | 89983cb37c9319806a551e8fe9f3a11ff8f973e1 (patch) | |
tree | 46cb7527923336191e884a33db20cd36a84cebf5 /ChangeLog | |
parent | 3f7f1d180d6f1cef2c4ea83f5bda76516a75212a (diff) | |
download | glibc-89983cb37c9319806a551e8fe9f3a11ff8f973e1.tar.gz glibc-89983cb37c9319806a551e8fe9f3a11ff8f973e1.tar.xz glibc-89983cb37c9319806a551e8fe9f3a11ff8f973e1.zip |
Update siginfo constants from Linux kernel (bug 21286).
As of Linux 4.17, siginfo headers in the Linux kernel have been largely unified across architectures (so various constants are defined with common values in include/uapi/asm-generic/siginfo.h even if not all architectures can generate those particular constants). This patch makes glibc reflect that unification and the current set of constants in that header as of Linux 4.18. Various constants are added to bits/siginfo-consts.h (under the same feature test macro conditions as the other constants with the same prefix), and removed from the ia64 bits/siginfo-consts-arch.h where they were previously there - this is not limited to constants added by the unification. Nothing is done about macros that are defined in include/uapi/asm-generic/siginfo.h with names with leading '__' (some of those are ia64-specific ones that remain in the ia64 bits/siginfo-consts-arch.h without the leading '__' there). A consequence of these changes is that TRAP_HWBKPT becomes available on AArch64 and all other architectures as requested in bug 21286. Tested for x86_64; tested with build-many-glibcs.py for ia64. [BZ #21286] * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New constant. [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise. [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise. [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise. [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise. [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise. [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise. [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise. [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise. [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise. * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h (ILL_BADIADDR): Remove constant. (TRAP_BRANCH): Likewise. (TRAP_HWBKPT): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 99a560f233..1532d35b94 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,22 @@ +2018-09-17 Joseph Myers <joseph@codesourcery.com> + + [BZ #21286] + * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New + constant. + [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise. + [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise. + [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise. + [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise. + [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise. + [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise. + [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise. + [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise. + [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise. + * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h + (ILL_BADIADDR): Remove constant. + (TRAP_BRANCH): Likewise. + (TRAP_HWBKPT): Likewise. + 2018-09-14 Joseph Myers <joseph@codesourcery.com> [BZ #23656] |