diff options
author | Joseph Myers <joseph@codesourcery.com> | 2018-09-14 16:02:57 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2018-09-14 16:02:57 +0000 |
commit | 3f7f1d180d6f1cef2c4ea83f5bda76516a75212a (patch) | |
tree | 25fd4f557434e81b329813f0942187163915697f /NEWS | |
parent | d59f3e5e0fd518eeed1ec11886fd796d163cea5d (diff) | |
download | glibc-3f7f1d180d6f1cef2c4ea83f5bda76516a75212a.tar.gz glibc-3f7f1d180d6f1cef2c4ea83f5bda76516a75212a.tar.xz glibc-3f7f1d180d6f1cef2c4ea83f5bda76516a75212a.zip |
Fix MIPS n32 pr_sigpend, pr_sighold, pr_flag type (bug 23656).
As discussed at <https://sourceware.org/ml/libc-alpha/2018-09/msg00191.html> and followup discussions, the MIPS n32 definitions of pr_sigpend and pr_sighold in struct elf_prstatus, and pr_flag in struct elf_prpsinfo, are wrong to use unsigned long long int; actual n32 core dumps use a 32-bit type there, so userspace unsigned long int is correct for all MIPS ABIs. This patch removes the conditionals (also thereby aligning the structures with other architectures and so facilitating future unification of different versions of this header). Tested with build-many-glibcs.py for its MIPS configurations. [BZ #23656] * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus): Remove [_MIPS_SIM = _ABIN32] conditional case. (struct elf_prpsinfo): Likewise.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS index dbb86a73a3..f76ada94d3 100644 --- a/NEWS +++ b/NEWS @@ -31,6 +31,12 @@ Deprecated and removed features, and other changes affecting compatibility: the Linux kernel. This affects the size and layout of that structure on MicroBlaze, MIPS (n64 ABI only), Nios II and RISC-V. +* For the MIPS n32 ABI, the type of the pr_sigpend and pr_sighold members of + struct elf_prstatus, and the pr_flag member of struct elf_prpsinfo, + defined in <sys/procfs.h>, has been corrected to match the type actually + used by the Linux kernel. This affects the size and layout of those + structures. + Changes to build and runtime requirements: [Add changes to build and runtime requirements here] |