glibc/sysdeps/unix/sysv/linux/mips/mips64
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
..
n32 mips: Fix argument passing for inlined syscalls on Linux [BZ #25523] 2020-02-16 11:44:25 +01:00
n64 mips: Fix argument passing for inlined syscalls on Linux [BZ #25523] 2020-02-16 11:44:25 +01:00
Makefile
configure
configure.ac
fxstat64.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
fxstatat64.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
getdents64.c Linux: Adjust gedents64 buffer size to int range [BZ #24740] 2019-06-27 15:08:40 +02:00
ipc_priv.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
ldconfig.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
ldd-rewrite.sed
libBrokenLocale.abilist
libanl.abilist
libcrypt.abilist
libdl.abilist
libm.abilist
libnsl.abilist
libpthread.abilist nptl: Add POSIX-proposed pthread_mutex_clocklock 2019-07-12 13:36:25 +00:00
librt.abilist
libthread_db.abilist
libutil.abilist
lxstat64.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
msgctl.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
semctl.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
shmctl.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
statx_cp.c Add statx conditionals for wordsize-32 *xstat.c 2018-12-17 09:20:02 +08:00
syscall.S mips: Use 'long int' and 'long long int' in linux syscall code 2020-02-16 11:40:39 +01:00
xstat64.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00