summaryrefslogtreecommitdiff
path: root/arch/mipsn32/bits
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-07-16 20:31:38 -0400
committerRich Felker <dalias@aerifal.cx>2019-07-16 20:31:38 -0400
commitdb2a148d9df3d7d1f3423313761f0e2517c1aa2b (patch)
tree675fed5cb3d0f46d773162fde6f1d52e248c24a4 /arch/mipsn32/bits
parent03919b26ed41c31876db41f7cee076ced4513fad (diff)
downloadmusl-db2a148d9df3d7d1f3423313761f0e2517c1aa2b.tar.gz
deduplicate mips64/n32 syscall clobbered register lists
this patch is not purely non-functional changes, since before, $8 and $9 were wrongly in the clobberlist for syscalls with fewer than 5 or 6 arguments. of course it's impossible for syscalls to have different clobbers depending on their number of arguments. the clobberlist for the recently-added 5- and 6-argument forms was correct, and for the 0- to 4-argument forms was erroneously copied from the mips o32 ABI where the additional arguments had to be passed on the stack. in making this change, I reviewed the kernel sources, and $8 and $9 are always saved for 64-bit kernels since they're part of the syscall argument list for n32 and n64 ABIs.
Diffstat (limited to 'arch/mipsn32/bits')
0 files changed, 0 insertions, 0 deletions