glibc/sysdeps/unix/sysv/linux/mips/mips32
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
..
fpu Linux: Add getdents64 system call 2019-06-07 09:27:01 +02:00
mips16 mips: Use 'long int' and 'long long int' in linux syscall code 2020-02-16 11:40:39 +01:00
nofpu Linux: Add getdents64 system call 2019-06-07 09:27:01 +02:00
Makefile
Versions
bug-getcontext-mips-gp.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
c++-types.data
fxstatat.c
jmp_buf-macros.h
ld.abilist
libBrokenLocale.abilist
libanl.abilist
libcrypt.abilist
libdl.abilist
libm.abilist Remove the error handling wrapper from pow 2018-11-21 09:58:36 +00:00
libnsl.abilist
libpthread.abilist nptl: Add POSIX-proposed pthread_mutex_clocklock 2019-07-12 13:36:25 +00:00
libresolv.abilist
librt.abilist
libthread_db.abilist
libutil.abilist
mips-syscall5.S mips: Use 'long int' and 'long long int' in linux syscall code 2020-02-16 11:40:39 +01:00
mips-syscall6.S mips: Use 'long int' and 'long long int' in linux syscall code 2020-02-16 11:40:39 +01:00
mips-syscall7.S mips: Use 'long int' and 'long long int' in linux syscall code 2020-02-16 11:40:39 +01:00
syscalls.list
sysdep.h mips: Fix argument passing for inlined syscalls on Linux [BZ #25523] 2020-02-16 11:44:25 +01:00