This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/21548] New: [mips] get/set/make/swap context for MIPS O32 assume wrong size for general purpose registers in mcontext_t structure
- From: "gordana.cmiljanovic at imgtec dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 05 Jun 2017 14:46:37 +0000
- Subject: [Bug libc/21548] New: [mips] get/set/make/swap context for MIPS O32 assume wrong size for general purpose registers in mcontext_t structure
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21548
Bug ID: 21548
Summary: [mips] get/set/make/swap context for MIPS O32 assume
wrong size for general purpose registers in mcontext_t
structure
Product: glibc
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: gordana.cmiljanovic at imgtec dot com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
General purpose registers in mcontext_t structure
are 8 bytes long for both MIPS32/MIPS64, as per:
https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/mips/sys/ucontext.h;h=f766dacd205f49a479f17b19df476a8103f55a2e;hb=refs/heads/master#l35
and
https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/mips/sys/ucontext.h;h=f766dacd205f49a479f17b19df476a8103f55a2e;hb=refs/heads/master#l68
but get/set/make/swap context implementations for MIPS O32
incorrectly assume that general purpose registers
in this structure are 4 bytes long.
--
You are receiving this mail because:
You are on the CC list for the bug.