glibc/sysdeps/unix
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
..
alpha alpha: force old OSF1 syscalls for getegid, geteuid and getppid [BZ #24986] 2019-09-14 20:08:02 +02:00
arm
bsd
i386
inet Remove obsolete, never-implemented XSI STREAMS declarations 2019-03-14 15:44:15 +01:00
mips
powerpc
sh
sysv/linux microblaze: Avoid clobbering register parameters in syscall 2020-02-16 15:16:10 +01:00
x86_64
Implies
Makefile
clock_gettime.c nptl: Remove pthread_clock_gettime pthread_clock_settime 2019-03-22 15:37:43 -03:00
clock_nanosleep.c nptl: Remove pthread_clock_gettime pthread_clock_settime 2019-03-22 15:37:43 -03:00
clock_settime.c nptl: Remove pthread_clock_gettime pthread_clock_settime 2019-03-22 15:37:43 -03:00
confstr.h
get_child_max.c
getlogin.c
getlogin_r.c login: Remove utmp backend jump tables [BZ #23518] 2020-01-17 13:54:07 +01:00
getpagesize.c
grantpt.c Break more lines before not after operators. 2019-02-25 13:19:19 +00:00
ifreq.c
make-syscalls.sh make-syscalls.sh: fix comment referencing syscall-template 2019-01-31 22:45:10 -05:00
pt-fcntl.c
s-proto-cancel.S
s-proto.S
setxid.h
sockatmark.c Fix a few typos in comments 2019-01-12 13:44:51 +00:00
stime.c
syscall-template.S
syscall.S
syscalls.list
sysdep.h Add single-thread.h header 2019-05-14 08:41:15 -03:00