glibc/sysdeps/unix/sysv/linux/microblaze
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
..
bits Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sys Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Implies
Makefile
Versions
____longjmp_chk.S 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
c++-types.data
clock-compat.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
fxstat.c
fxstatat.c
getsysstats.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
jmp_buf-macros.h
kernel-features.h io: Remove copy_file_range emulation [BZ #24744] 2019-06-28 09:39:21 +02:00
kernel_stat.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
ld.abilist
libBrokenLocale.abilist
libanl.abilist
libc.abilist Linux: Add getdents64 system call 2019-06-07 09:27:01 +02:00
libcrypt.abilist
libdl.abilist
libm.abilist Remove the error handling wrapper from pow 2018-11-21 09:58:36 +00:00
libnsl.abilist
libpthread.abilist nptl: Add POSIX-proposed pthread_mutex_clocklock 2019-07-12 13:36:25 +00:00
libresolv.abilist
librt.abilist
libthread_db.abilist
libutil.abilist
localplt.data
lxstat.c
profil-counter.h
shlib-versions
sigcontextinfo.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
syscall.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
syscalls.list
sysdep.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sysdep.h microblaze: Avoid clobbering register parameters in syscall 2020-02-16 15:16:10 +01:00
vfork.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
xstat.c