OSDN Git Service

implement inline 5- and 6-argument syscalls for mips
authorRich Felker <dalias@aerifal.cx>
Wed, 10 Apr 2019 23:23:15 +0000 (19:23 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 10 Apr 2019 23:56:07 +0000 (19:56 -0400)
commitdcb18bea6159e841b8c894ac606f471882513429
tree05145730cfcc05a0b1a9a3abc37ff0ef36356c76
parent6aeb9c6703670649ee09b3c8575fb428168bb75c
implement inline 5- and 6-argument syscalls for mips

the OABI passes these on the stack, using the convention that their
position on the stack is as if the first four arguments (in registers)
also had stack slots. originally this was deemed too awkward to do
inline, falling back to external __syscall, but it's not that bad and
now that external __syscall is being removed, it's necessary.
arch/mips/syscall_arch.h