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 Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
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 Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
_test_and_set.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
brk.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
clone.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
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 Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
dl-static.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
getcontext.S mips: Remove rt_sigreturn usage on context function 2019-04-17 15:14:45 -03:00
getrlimit64.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
getsysstats.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
init-first.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
kernel-features.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
kernel_rt_sigframe.h
kernel_sigaction.h
kernel_stat.h
kernel_termios.h termios: Consolidate struct termios 2019-01-03 09:32:12 -02:00
ldsodefs.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
libc-abis
libc-vdso.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
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 Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
register-dump.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
setcontext.S mips: Remove rt_sigreturn usage on context function 2019-04-17 15:14:45 -03:00
setrlimit64.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
shlib-versions
sigcontextinfo.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
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 Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
vfork.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
xstatconv.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00