diff options
author | Rich Felker <dalias@aerifal.cx> | 2019-07-16 20:31:38 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-07-16 20:31:38 -0400 |
commit | db2a148d9df3d7d1f3423313761f0e2517c1aa2b (patch) | |
tree | 675fed5cb3d0f46d773162fde6f1d52e248c24a4 /src/thread/tss_set.c | |
parent | 03919b26ed41c31876db41f7cee076ced4513fad (diff) | |
download | musl-db2a148d9df3d7d1f3423313761f0e2517c1aa2b.tar.gz musl-db2a148d9df3d7d1f3423313761f0e2517c1aa2b.tar.bz2 musl-db2a148d9df3d7d1f3423313761f0e2517c1aa2b.tar.xz musl-db2a148d9df3d7d1f3423313761f0e2517c1aa2b.zip |
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 'src/thread/tss_set.c')
0 files changed, 0 insertions, 0 deletions