glibc/sysdeps/unix/sysv/linux/mips/mips32
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
..
fpu Finish move of clock_* functions to libc. [BZ #24959] 2019-09-04 14:39:38 +02:00
mips16 mips: Use 'long int' and 'long long int' in linux syscall code 2020-02-12 22:13:24 +00:00
nofpu Finish move of clock_* functions to libc. [BZ #24959] 2019-09-04 14:39:38 +02:00
arch-syscall.h Linux: Add tables with system call numbers 2020-01-02 10:18:10 +01:00
bug-getcontext-mips-gp.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
c++-types.data MIPS: Consolidate nptl/ subdirectories under linux/... 2014-06-27 11:41:04 -07:00
fxstatat.c
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
libanl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libBrokenLocale.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libcrypt.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libdl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libm.abilist Make totalorder and totalordermag functions take pointer arguments. 2019-08-15 15:18:34 +00:00
libnsl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libpthread.abilist nptl: Move waitpid implementation to libc 2019-12-19 16:11:09 -03:00
libresolv.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
librt.abilist Finish move of clock_* functions to libc. [BZ #24959] 2019-09-04 14:39:38 +02:00
libthread_db.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libutil.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
Makefile MIPS/o32: Fix internal_syscall5/6/7 2017-08-29 18:31:08 +01:00
mips-syscall5.S mips: Use 'long int' and 'long long int' in linux syscall code 2020-02-12 22:13:24 +00:00
mips-syscall6.S mips: Use 'long int' and 'long long int' in linux syscall code 2020-02-12 22:13:24 +00:00
mips-syscall7.S mips: Use 'long int' and 'long long int' in linux syscall code 2020-02-12 22:13:24 +00:00
syscalls.list
sysdep.h mips: Fix argument passing for inlined syscalls on Linux [BZ #25523] 2020-02-12 22:13:59 +00:00
Versions MIPS/o32: Fix internal_syscall5/6/7 2017-08-29 18:31:08 +01:00