mirror of git://git.musl-libc.org/musl
db2a148d9d
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. |
||
---|---|---|
.. | ||
aarch64 | ||
arm | ||
generic | ||
i386 | ||
m68k | ||
microblaze | ||
mips | ||
mips64 | ||
mipsn32 | ||
or1k | ||
powerpc | ||
powerpc64 | ||
riscv64 | ||
s390x | ||
sh | ||
x32 | ||
x86_64 |