summaryrefslogtreecommitdiff
path: root/arch/mips64/syscall_arch.h
AgeCommit message (Collapse)AuthorLines
2019-04-10implement inline 5- and 6-argument syscalls for mipsn32 and mips64Rich Felker-23/+43
n32 and n64 ABIs add new argument registers vs o32, so that passing on the stack is not necessary, so it's not clear why the 5- and 6-argument versions were special-cased to begin with; it seems to have been pattern-copying from arch/mips (o32). i've treated the new argument registers like the first 4 in terms of clobber status (non-clobbered). hopefully this is correct.
2019-04-10cleanup mips64 syscall_arch functionsRich Felker-18/+9
2017-05-31remove long-obsolete clang workarounds from mips* syscall_arch.h filesRich Felker-75/+0
at one point, clang reportedly failed to support the asm register constraints needed for inline syscalls. versions of clang that old have much bigger problems that preclude using them to compile musl libc.
2017-05-31fix fstatat syscall on mips64Rich Felker-3/+22
mips64 requires 'struct stat' conversion due to incorrect 32-bit fields where time_t should be in the kernel version of the structure. syscall_arch.h already performed the correct translation for stat, fstat, and lstat syscalls, but omitted special handling for fstatat.
2016-03-06add mips64 portRich Felker-0/+281
patch by Mahesh Bodapati and Jaydeep Patil of Imagination Technologies.