musl/arch
Rich Felker ddc7c4f936 clean up mips64/n32 syscall asm constraints
ever since inline syscalls were added for (o32) mips in commit
328810d325, the asm has nonsensically
loaded the syscall number, rather than taking $2 as an input
constraint to let the compiler load it. commit
cfc09b1ecf improved on this somewhat by
allowing a constant syscall number to propagate into an immediate, but
missed that the whole operation made no sense.

now, only $4, $5, $6, $8, and $9 are potential input-only registers.
$2 is always input and output, and $7 is both when it's an argument,
otherwise output-only. previously, $7 was treated as an input (with a
"1" constraint matching its output position) even when it was not an
input, which was arguably undefined behavior (asm input from
indeterminate value). this is corrected.
2019-07-16 20:49:02 -04:00
..
aarch64 add new syscall numbers from linux v5.1 2019-07-01 14:20:58 -04:00
arm fix build failure on arm building C code in thumb1 mode 2019-07-15 15:33:12 -04:00
generic math: add fp_arch.h with fp_barrier and fp_force_eval 2019-04-17 13:06:43 -04:00
i386 add new syscall numbers from linux v5.1 2019-07-01 14:20:58 -04:00
m68k add new syscall numbers from linux v5.1 2019-07-01 14:20:58 -04:00
microblaze add new syscall numbers from linux v5.1 2019-07-01 14:20:58 -04:00
mips fix conflicting mips and powerpc definitions for TIOCSER_TEMT macro 2019-07-10 17:09:49 -04:00
mips64 clean up mips64/n32 syscall asm constraints 2019-07-16 20:49:02 -04:00
mipsn32 clean up mips64/n32 syscall asm constraints 2019-07-16 20:49:02 -04:00
or1k add new syscall numbers from linux v5.1 2019-07-01 14:20:58 -04:00
powerpc fix conflicting mips and powerpc definitions for TIOCSER_TEMT macro 2019-07-10 17:09:49 -04:00
powerpc64 fix conflicting mips and powerpc definitions for TIOCSER_TEMT macro 2019-07-10 17:09:49 -04:00
riscv64 remove spurious MAP_32BIT definition from riscv64 arch 2019-07-04 12:28:29 -04:00
s390x add new syscall numbers from linux v5.1 2019-07-01 14:20:58 -04:00
sh add new syscall numbers from linux v5.1 2019-07-01 14:20:58 -04:00
x32 add new syscall numbers from linux v5.1 2019-07-01 14:20:58 -04:00
x86_64 add new syscall numbers from linux v5.1 2019-07-01 14:20:58 -04:00