glibc/sysdeps
Adhemerval Zanella e1766196b6 microblaze: Avoid clobbering register parameters in syscall
The microblaze 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 with microblaze-linux-gnu and microblazeel-linux-gnu build.

(cherry picked from commit 6cc8fc7c15)
2020-02-16 15:16:10 +01:00
..
aarch64 aarch64: simplify the DT_AARCH64_VARIANT_PCS handling code 2019-07-10 15:28:00 +01:00
alpha Update Alpha libm-test-ulps 2019-09-03 21:38:07 +02:00
arm
csky
generic Add nocancel version of pread64() 2020-01-17 13:56:43 +01:00
gnu login: Add nonstring attributes to struct utmp, struct utmpx [BZ #24899] 2020-01-17 13:56:00 +01:00
hppa hppa: Update libm-tests-ulps 2019-09-08 22:57:15 +02:00
htl
hurd
i386 x86: Add sysdeps/x86/dl-lookupcfg.h 2019-06-26 15:07:28 -07:00
ia64
ieee754 math: Use wordsize-64 version for s_logb 2019-07-08 17:22:22 -03:00
init_array
m68k
mach
microblaze
mips
nios2
nptl nptl: Remove unnecessary forwarding of pthread_cond_clockwait from libc 2019-07-18 11:24:33 -03:00
posix
powerpc [powerpc] fenv_libc.h: protect use of __builtin_cpu_supports 2019-07-09 13:09:35 -05:00
pthread nptl: Add POSIX-proposed sem_clockwait 2019-07-12 13:36:23 +00:00
riscv riscv: restore ABI compatibility (bug 24484) 2019-07-04 14:55:58 +02:00
s390 S390: Fix handling of needles crossing a page in strstr z15 ifunc-variant. [BZ #25226] 2019-11-27 12:38:58 +01:00
sh
sparc nptl: Rename lll_timedlock to lll_clocklock and add clockid parameter 2019-07-12 13:36:25 +00:00
unix microblaze: Avoid clobbering register parameters in syscall 2020-02-16 15:16:10 +01:00
wordsize-32
wordsize-64
x86 Call _dl_open_check after relocation [BZ #24259] 2019-07-01 12:23:22 -07:00
x86_64 x86-64: Compile branred.c with -mprefer-vector-width=128 [BZ #24603] 2019-07-24 14:48:43 -07:00