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 /ChangeLog | |
| parent | 2c3d888304642a2241a84491eeac9344be507ea4 (diff) | |
| download | 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 'ChangeLog')
| -rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2016-07-19 Mike Frysinger <vapier@gentoo.org> + + * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0): + Rename "ret" to "__ret". + (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4, + inline_syscall5, inline_syscall6): Likewise. + 2016-07-19 Will Newton <will.newton@gmail.com> * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD |
