glibc/sysdeps/unix/sysv/linux/sparc
Adhemerval Zanella c261718b3f sparc: Avoid clobbering register parameters in syscall
The sparc INTERNAL_SYSCALL macro might clobber the register
parameter if the argument itself might clobber any register (a function
call for instance).

This patch fixes it by using temporary variables for the expressions
between the register assignments (as indicated by GCC documentation,
6.47.5.2 Specifying Registers for Local Variables).

It is similar to the fix done for MIPS (bug 25523).

Checked on sparc64-linux-gnu and sparcv9-linux-gnu.
2020-02-14 21:09:12 -03:00
..
bits Use gcc -finput-charset=ascii for check-installed-headers. 2020-02-13 17:32:00 +01:00
sparc32 sparc: Use Linux kABI for syscall return 2020-02-14 21:09:12 -03:00
sparc64 sparc: Use Linux kABI for syscall return 2020-02-14 21:09:12 -03:00
sys Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
a.out.h Remove trailing whitespace. 2013-06-05 20:44:03 +00:00
aio_cancel.c Move remaining SPARC code out of nptl/. 2014-06-20 17:13:47 -07:00
configure Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
configure.ac Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
dl-cache.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getrlimit64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getshmlba.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getsysstats.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Implies NPTL is no longer an add-on! 2014-07-07 09:29:06 -07:00
kernel_sigaction.h m68k: Fix sigaction kernel definition (BZ #23960) 2018-12-18 16:45:10 -02:00
kernel_termios.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
kernel-features.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ldd-rewrite.sed Update. 1999-07-14 15:21:35 +00:00
Makefile elf: Move vDSO setup to rtld (BZ#24967) 2020-01-03 11:22:07 -03:00
profil-counter.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
readelflib.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
rt-sysdep.c * shlib-versions: Use sparc64.*- for CPU patterns. 2006-03-06 01:34:09 +00:00
sysdep.c * shlib-versions: Use sparc64.*- for CPU patterns. 2006-03-06 01:34:09 +00:00
sysdep.h sparc: Avoid clobbering register parameters in syscall 2020-02-14 21:09:12 -03:00
Versions Add VDSO support to sparc. 2018-10-18 11:44:32 -07:00