glibc/sysdeps/unix/sysv/linux/mips
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
..
bits Linux: Use in-tree copy of SO_ constants for !__USE_MISC [BZ #24532] 2019-07-24 10:59:34 +02:00
mips32 mips: Fix argument passing for inlined syscalls on Linux [BZ #25523] 2020-02-16 11:44:25 +01:00
mips64 mips: Fix argument passing for inlined syscalls on Linux [BZ #25523] 2020-02-16 11:44:25 +01:00
sys
Implies
Makefile mips: Force RWX stack for hard-float builds that can run on pre-4.8 kernels 2019-11-05 14:57:13 -03:00
Versions
____longjmp_chk.c
_test_and_set.c
brk.c
clone.S
configure mips: Force RWX stack for hard-float builds that can run on pre-4.8 kernels 2019-11-05 14:57:13 -03:00
configure.ac mips: Force RWX stack for hard-float builds that can run on pre-4.8 kernels 2019-11-05 14:57:13 -03:00
dl-cache.h
dl-static.c
getcontext.S mips: Remove rt_sigreturn usage on context function 2019-04-17 15:14:45 -03:00
getrlimit64.c
getsysstats.c
init-first.c
kernel-features.h
kernel_rt_sigframe.h
kernel_sigaction.h
kernel_stat.h
kernel_termios.h
ldsodefs.h
libc-abis
libc-vdso.h
makecontext.S mips: Remove rt_sigreturn usage on context function 2019-04-17 15:14:45 -03:00
mmap_info.h posix: Fix large mmap64 offset for mips64n32 (BZ#24699) 2019-07-10 16:52:50 -03:00
pipe.S
profil-counter.h
readelflib.c
register-dump.h
setcontext.S mips: Remove rt_sigreturn usage on context function 2019-04-17 15:14:45 -03:00
setrlimit64.c
shlib-versions
sigcontextinfo.h
swapcontext.S mips: Remove rt_sigreturn usage on context function 2019-04-17 15:14:45 -03:00
syscalls.list
ucontext_i.sym
ustat.c
vfork.S
xstatconv.c