OSDN Git Service

Atsushi Nemoto writes:
authorMike Frysinger <vapier@gentoo.org>
Mon, 12 Feb 2007 18:34:57 +0000 (18:34 -0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 12 Feb 2007 18:34:57 +0000 (18:34 -0000)
commit216bfd092c46dc0479e571a37fd2fd96e47605b5
tree5bbffacf54548c1ec88312faedccb3e074869f02
parent7e4add25abbe7f82989d156a5259b4eef08ba3be
Atsushi Nemoto writes:
Current ucontext_t does not match with kernel's definition.  Also, on
N32 ABI, we can not use kernel's struct sigcontext since kernel's
sizeof(long) and user's sizeof(long) is differ.

For both data structure, just importing header files from recent glibc
fixes the mismatch.  So here is a patch importing sys/ucontext.h and
bits/sigcontext.t from glibc-2.5.
libc/sysdeps/linux/mips/bits/sigcontext.h [new file with mode: 0644]
libc/sysdeps/linux/mips/sys/ucontext.h