]> sourceware.org Git - glibc.git/commit
microblaze: fix variable name collision with syscall macros
authorMike Frysinger <vapier@gentoo.org>
Tue, 19 Jul 2016 16:09:36 +0000 (21:39 +0530)
committerMike Frysinger <vapier@gentoo.org>
Tue, 19 Jul 2016 16:12:05 +0000 (21:42 +0530)
commit4f69cc45bcbed1619b15c9632f3eb6a36590c7dd
tree6feb0a3152787e6c62002d3dc22f007363fa28f8
parent2c3d888304642a2241a84491eeac9344be507ea4
microblaze: fix variable name collision with syscall macros

If a function passes in a variable named "ret", the code will miscompile
when it declares a local ret variable.  In some cases, it's even a build
failure like so:
../sysdeps/unix/sysv/linux/spawni.c: In function '__spawni_child':
../sysdeps/unix/sysv/linux/spawni.c:289:5: error: address of register variable 'ret' requested
while (write_not_cancel (p, &ret, sizeof ret) < 0)
ChangeLog
sysdeps/unix/sysv/linux/microblaze/sysdep.h
This page took 0.039431 seconds and 5 git commands to generate.