[Bug libc/23656] [mips n32] sys/procfs.h pr_sigpend, pr_sighold, pr_flag have wrong type
cvs-commit at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Fri Sep 14 16:04:00 GMT 2018
https://sourceware.org/bugzilla/show_bug.cgi?id=23656
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 3f7f1d180d6f1cef2c4ea83f5bda76516a75212a (commit)
from d59f3e5e0fd518eeed1ec11886fd796d163cea5d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3f7f1d180d6f1cef2c4ea83f5bda76516a75212a
commit 3f7f1d180d6f1cef2c4ea83f5bda76516a75212a
Author: Joseph Myers <joseph@codesourcery.com>
Date: Fri Sep 14 16:02:57 2018 +0000
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.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
NEWS | 6 ++++++
sysdeps/unix/sysv/linux/mips/sys/procfs.h | 9 ---------
3 files changed, 11 insertions(+), 9 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list