glibc/sysdeps/unix/sysv/linux/mips/mips64/n64
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
..
c++-types.data
fstatfs64.c
fts.c
fts64.c
ftw.c
ftw64.c
ioctl.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
jmp_buf-macros.h
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
posix_fadvise64.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sendfile64.c
statfs64.c
syscalls.list Consolidate Linux readahead implementation 2018-04-27 17:38:43 -03:00
sysdep.h mips: Fix argument passing for inlined syscalls on Linux [BZ #25523] 2020-02-16 11:44:25 +01:00