glibc/sysdeps
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
..
aarch64 nptl: add missing pthread-offsets.h 2020-02-10 17:01:21 +01:00
alpha nptl: add missing pthread-offsets.h 2020-02-10 17:01:21 +01:00
arm Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
csky Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
generic powerpc: Move cache line size to rtld_global_ro 2020-01-17 09:05:03 -03:00
gnu Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hppa Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
htl htl C11 threads: Avoid pthread_ symbols visibility in static library 2020-02-10 23:45:23 +00:00
hurd C11 threads: Move implementation to sysdeps/pthread 2020-02-09 13:56:48 +01:00
i386 i386: Use ENTRY/END in assembly codes 2020-02-01 05:44:55 -08:00
ia64 nptl: add missing pthread-offsets.h 2020-02-10 17:01:21 +01:00
ieee754 ldbl-128ibm-compat: Provide a scalb implementation 2020-02-14 08:24:56 -06:00
init_array Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
m68k Add a generic scalb implementation 2020-02-14 08:24:56 -06:00
mach io: Implement lchmod using fchmodat [BZ #14578] 2020-02-12 08:43:59 +01:00
microblaze Linux: Use system call tables during build 2020-01-02 10:18:23 +01:00
mips MIPS: Fix circular definition of __LDBL_MANT_DIG__ in ieee754.h 2020-01-08 14:28:23 -05:00
nios2 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
nptl nptl: update default pthread-offsets.h 2020-02-10 17:01:21 +01:00
posix nss: Add function types and NSS_DECLARE_MODULE_FUNCTIONS macro to <nss.h> 2020-02-13 09:14:40 +01:00
powerpc Fix array overflow in backtrace on PowerPC (bug 25423) 2020-01-21 15:26:57 +01:00
pthread pthread: Move some join tests from nptl to sysdeps/pthread 2020-02-10 01:21:46 +00:00
riscv nptl: add missing pthread-offsets.h 2020-02-10 17:01:21 +01:00
s390 S390: Fix non-ascii character in fenv.h. 2020-02-12 09:10:56 +01:00
sh Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sparc nptl: add missing pthread-offsets.h 2020-02-10 17:01:21 +01:00
unix sparc: Avoid clobbering register parameters in syscall 2020-02-14 21:09:12 -03:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
x86 x86: Remove <bits/select.h> and use the generic version 2020-02-09 14:02:27 +01:00
x86_64 Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00