musl/arch/mips/bits
Rich Felker da1442c9a8 fix types for wctype_t and wctrans_t
wctype_t was incorrectly "int" rather than "long" on x86_64. not only
is this an ABI incompatibility; it's also a major design flaw if we
ever wanted wctype_t to be implemented as a pointer, which would be
necessary if locales support custom character classes, since int is
too small to store a converted pointer. this commit fixes wctype_t to
be unsigned long on all archs, matching the LSB ABI; this change does
not matter for C code, but for C++ it affects mangling.

the same issue applied to wctrans_t. glibc/LSB defines this type as
const __int32_t *, but since no such definition is visible, I've just
expanded the definition, int, everywhere.

it would be nice if these types (which don't vary by arch) could be in
wctype.h, but the OB XSI requirement in POSIX that wchar.h expose some
types and functions from wctype.h precludes doing so. glibc works
around this with some hideous hacks, but trying to duplicate that
would go against the intent of musl's headers.
2013-03-04 19:22:14 -05:00
..
alltypes.h.sh fix types for wctype_t and wctrans_t 2013-03-04 19:22:14 -05:00
endian.h better support for reverse-endian variants of arm/mips/microblaze 2012-10-18 21:50:55 -04:00
errno.h fix numerous mips abi constant definition mismatches 2012-11-05 14:29:04 -05:00
fcntl.h add missing F_GETOWNER_UIDS flag to bits/fcntl.h 2013-01-12 19:42:39 +01:00
fenv.h floating point environment/exceptions support for mips 2012-10-18 20:19:53 -04:00
float.h initial version of mips (o32) port, based on work by Richard Pennington (rdp) 2012-07-11 04:22:13 -04:00
io.h fix breakage from introducing bits header for sys/io.h 2012-11-18 19:58:15 -05:00
ioctl.h further fixes for mips ioctl.h header 2012-08-07 19:59:28 -04: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 initial version of mips (o32) port, based on work by Richard Pennington (rdp) 2012-07-11 04:22:13 -04:00
mman.h add missing mmap options and madvices to bits/mman.h based on linux headers 2013-01-12 19:42:39 +01:00
msg.h initial version of mips (o32) port, based on work by Richard Pennington (rdp) 2012-07-11 04:22:13 -04:00
posix.h initial version of mips (o32) port, based on work by Richard Pennington (rdp) 2012-07-11 04:22:13 -04:00
reg.h begin sys/user.h and sys/reg.h fixes for ports 2012-11-23 20:05:43 -05:00
setjmp.h add floating point register saving/restoring to mips setjmp/longjmp 2012-07-22 18:55:01 -04:00
shm.h initial version of mips (o32) port, based on work by Richard Pennington (rdp) 2012-07-11 04:22:13 -04:00
signal.h fixup mcontext stuff to expost gregset_t/fpregset_t as appropriate 2012-11-25 23:04:23 -05:00
socket.h disable SO_REUSEPORT in sys/socket.h 2012-11-15 19:16:10 -05:00
stat.h initial version of mips (o32) port, based on work by Richard Pennington (rdp) 2012-07-11 04:22:13 -04:00
statfs.h initial version of mips (o32) port, based on work by Richard Pennington (rdp) 2012-07-11 04:22:13 -04:00
stdarg.h initial version of mips (o32) port, based on work by Richard Pennington (rdp) 2012-07-11 04:22:13 -04:00
stdint.h initial version of mips (o32) port, based on work by Richard Pennington (rdp) 2012-07-11 04:22:13 -04:00
syscall.h syscall organization overhaul 2012-09-08 22:43:14 -04:00
termios.h fix termios constants on mips 2012-11-23 17:23:38 -05:00
user.h make sys/procfs.h mostly work on most archs 2012-11-25 22:28:18 -05:00
wchar.h initial version of mips (o32) port, based on work by Richard Pennington (rdp) 2012-07-11 04:22:13 -04:00