diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-07-19 21:39:36 +0530 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-07-19 21:42:05 +0530 |
commit | 4f69cc45bcbed1619b15c9632f3eb6a36590c7dd (patch) | |
tree | 6feb0a3152787e6c62002d3dc22f007363fa28f8 /malloc/morecore.c | |
parent | 2c3d888304642a2241a84491eeac9344be507ea4 (diff) | |
download | glibc-4f69cc45bcbed1619b15c9632f3eb6a36590c7dd.tar.gz glibc-4f69cc45bcbed1619b15c9632f3eb6a36590c7dd.tar.xz glibc-4f69cc45bcbed1619b15c9632f3eb6a36590c7dd.zip |
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)
Diffstat (limited to 'malloc/morecore.c')
0 files changed, 0 insertions, 0 deletions