glibc/sysdeps/unix/sysv/linux/mips/mips64/n64
WANG Xuerui 4fbba6fe90 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
2020-02-12 22:13:59 +00:00
..
arch-syscall.h Linux: Add tables with system call numbers 2020-01-02 10:18:10 +01:00
c++-types.data MIPS: Consolidate nptl/ subdirectories under linux/... 2014-06-27 11:41:04 -07:00
fstatfs64.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
fts64.c Add LFS support for fts functions (bug 11460) 2015-11-06 11:24:16 +01:00
fts.c Add LFS support for fts functions (bug 11460) 2015-11-06 11:24:16 +01:00
ftw64.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
ftw.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
ioctl.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
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 Finish move of clock_* functions to libc. [BZ #24959] 2019-09-04 14:39:38 +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. 2020-01-01 00:14:33 +00:00
sendfile64.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
statfs64.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
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-12 22:13:59 +00:00