musl/arch/i386/bits
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
..
alltypes.h.sh use int instead of long for ptrdiff_t on all 32-bit archs 2012-08-10 15:13:26 -04:00
endian.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
errno.h fix missing ENOTSUP error code 2011-03-11 09:50:54 -05:00
fcntl.h fcntl.h: O_SEARCH was missing for powerpc 2012-11-18 05:14:40 +01:00
fenv.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
float.h support FLT_EVAL_METHOD changing on x86 with gcc -msse2 -mfpmath=sse 2012-04-27 01:39:03 -04:00
io.h fix breakage from introducing bits header for sys/io.h 2012-11-18 19:58:15 -05:00
ioctl.h cleanup socketcall syscall interface to ease porting to sane(r) archs 2011-02-15 04:40:40 -05:00
ipc.h fix broken semctl on systems that don't use IPC_64 flag 2012-09-22 08:02:42 -04:00
limits.h fix missing _BSD_SOURCE support in bits/*.h 2012-05-22 22:12:10 -04:00
mman.h fix missing _BSD_SOURCE support in bits/*.h 2012-05-22 22:12:10 -04:00
msg.h numerous fixes to sysv ipc 2011-04-13 16:45:43 -04:00
posix.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
reg.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
setjmp.h jmp_buf overhaul fixing several issues 2012-07-03 20:07:33 -04:00
shm.h numerous fixes to sysv ipc 2011-04-13 16:45:43 -04:00
signal.h sigcontext/mcontext cleanup for arch-specific bits 2012-11-23 14:35:25 -05:00
socket.h workaround another sendmsg kernel bug on 64-bit machines 2012-07-12 21:37:54 -04:00
stat.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
statfs.h fix the definition of struct statvfs to match lsb abi 2011-09-19 23:35:48 -04:00
stdarg.h split off arch-specific stdarg.h stuff 2011-02-15 05:06:15 -05:00
stdint.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
syscall.h syscall organization overhaul 2012-09-08 22:43:14 -04:00
termios.h various legacy and linux-specific stuff 2011-03-18 21:52:26 -04:00
user.h cleanup/debloat i386 user.h 2011-09-22 15:35:57 -04:00
wchar.h fix the type of wchar_t on arm; support wchar_t varying with arch 2011-09-19 17:39:51 -04:00