initial version of mips (o32) port, based on work by Richard Pennington (rdp)

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.
This commit is contained in:
Rich Felker
2012-07-11 04:22:13 -04:00
parent cd8d724516
commit 6315004f61
38 changed files with 2196 additions and 0 deletions

13
src/signal/mips/restore.s Normal file
View File

@@ -0,0 +1,13 @@
.set noreorder
.global __restore_rt
.type __restore_rt,@function
__restore_rt:
li $2, 4193
syscall
.global __restore
.type __restore,@function
__restore:
li $2, 4119
syscall