glibc/sysdeps/unix/sysv/linux/mips/mips64/n32
WANG Xuerui b3be12767c mips: Fix argument passing for inlined syscalls on Linux [BZ #25523]
According to [gcc documentation][1], temporary variables must be used for
the desired content to not be call-clobbered.

Fix the Linux inline syscall templates by adding temporary variables,
much like what x86 did before
(commit 381a0c26d7).

Tested with gcc 9.2.0, both cross-compiled and natively on Loongson
3A4000.

[1]: https://gcc.gnu.org/onlinedocs/gcc/Local-Register-Variables.html

(cherry picked from commit 4fbba6fe90)
2020-02-16 11:44:25 +01:00
..
Versions Revert {send,sendm,recv,recvm}msg conformance changes 2016-06-10 11:58:16 -03:00
c++-types.data
jmp_buf-macros.h Add jmp_buf-macros.h 2017-11-09 05:10:03 -08:00
ld.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libc.abilist Linux: Add getdents64 system call 2019-06-07 09:27:01 +02:00
libresolv.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
lseek.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
mmap_internal.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
syscalls.list Make llseek a compat symbol (bug 18471). 2018-05-22 15:44:01 +00:00
sysdep.h mips: Fix argument passing for inlined syscalls on Linux [BZ #25523] 2020-02-16 11:44:25 +01:00