about summary refs log tree commit diff
path: root/arch/mips/bits
Commit message (Collapse)AuthorAgeFilesLines
* fix incorrect ptrdiff_t type on mipsRich Felker2012-08-101-1/+1
|
* add defines for number of sigset_t bytes syscalls expectRich Felker2012-08-091-0/+2
| | | | yet another gratuitous mips incompatibility...
* further fixes for mips ioctl.h headerRich Felker2012-08-071-4/+4
| | | | untested; hopefully it's right now
* fix another mips gratuitous-incompatibility bug: ioctl numbersRich Felker2012-08-071-2/+2
|
* fix socket.h on mipsRich Felker2012-08-051-0/+3
| | | | | why does mips have to be gratuitously incompatible in every possible imaginable way?
* add floating point register saving/restoring to mips setjmp/longjmpRich Felker2012-07-221-1/+1
| | | | | | | also fix the alignment of jmp_buf to meet the abi. linux always emulates fpu on mips if it's not present, so enabling this code unconditionally is "safe" but may be slow. in the long term it may be preferable to find a way to disable it on soft float builds.
* workaround another sendmsg kernel bug on 64-bit machinesRich Felker2012-07-121-0/+7
| | | | | | | | | the kernel wrongly expects the cmsg length field to be size_t instead of socklen_t. in order to work around the issue, we have to impose a length limit and copy to a local buffer. the length limit should be more than sufficient for any real-world use; these headers are only used for passing file descriptors and permissions between processes over unix sockets.
* fix redef of sigprocmask constants on mipsRich Felker2012-07-121-0/+3
| | | | this fix is easier than trying to reorder the header stuff
* more mips bits-header fixesRich Felker2012-07-121-2/+6
| | | | signal handling was very broken because of this
* fix mips syscalls with long long argsRich Felker2012-07-121-1/+1
| | | | | like arm, mips requires 64-bit arguments to be "aligned" on an even register boundary.
* fix mips mcontext_t structure sizeRich Felker2012-07-121-1/+5
| | | | | otherwise offs in ucontext_t will be wrong, and break code that inspects or modifies the signal makes (including cancellation code).
* fix MAP_ANONYMOUS value for mips, remove cruft copied from i386Rich Felker2012-07-111-2/+1
|
* initial version of mips (o32) port, based on work by Richard Pennington (rdp)Rich Felker2012-07-1125-0/+1809
basically, this version of the code was obtained by starting with rdp's work from his ellcc source tree, adapting it to musl's build system and coding style, auditing the bits headers for discrepencies with kernel definitions or glibc/LSB ABI or large file issues, fixing up incompatibility with the old binutils from aboriginal linux, and adding some new special cases to deal with the oddities of sigaction and pipe syscall interfaces on mips. at present, minimal test programs work, but some interfaces are broken or missing. threaded programs probably will not link.