musl/arch
Rich Felker c72fc23843 sigcontext/mcontext cleanup for arch-specific bits
with these changes, the members/types of mcontext_t and related stuff
should closely match the glibc definitions. unlike glibc, however, the
definitions here avoid using typedefs as much as possible and work
directly with the underlying types, to minimize namespace pollution
from signal.h in the default (_BSD_SOURCE) profile.

this is a first step in improving compatibility with applications
which poke at context/register information -- mainly debuggers, trace
utilities, etc. additional definitions in ucontext.h and other headers
may be needed later.

if feature test macros are used to request a conforming namespace,
mcontext_t is replaced with an opaque structure of the equivalent size
and alignment; conforming programs cannot examine its contents anyway.
2012-11-23 14:35:25 -05:00
..
arm sigcontext/mcontext cleanup for arch-specific bits 2012-11-23 14:35:25 -05:00
i386 sigcontext/mcontext cleanup for arch-specific bits 2012-11-23 14:35:25 -05:00
microblaze sigcontext/mcontext cleanup for arch-specific bits 2012-11-23 14:35:25 -05:00
mips sigcontext/mcontext cleanup for arch-specific bits 2012-11-23 14:35:25 -05:00
powerpc fix powerpc setjmp/longjmp to save/restore float regs; enlarge/align jmp_buf 2012-11-23 14:30:58 -05:00
x86_64 sigcontext/mcontext cleanup for arch-specific bits 2012-11-23 14:35:25 -05:00