glibc/sysdeps/unix/sysv/linux/mips/mips64/n64
Joseph Myers e0c349b40c Use better variable names in MIPS syscall macros.
Carlos noted in
<https://sourceware.org/ml/libc-alpha/2015-05/msg00680.html> that
various ports use potentially problematic short variables names in
their syscall macros, which could shadow variables with the same name
from containing scopes.

This patch fixes variables called err and ret in MIPS macros.  (I left
result_var and _sys_result - separate variables in different macros,
which need separate names - alone.)

Tested for mips64 (all three ABIs) that installed stripped shared
libraries are unchanged by this patch.

	* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
	Use variable name _sc_err instead of err.
	[__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
	instead of ret.
	* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
	(INLINE_SYSCALL): Use variable name _sc_err instead of err.
	* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
	(INLINE_SYSCALL): Likewise.
2015-06-02 20:38:49 +00:00
..
c++-types.data MIPS: Consolidate nptl/ subdirectories under linux/... 2014-06-27 11:41:04 -07:00
fallocate64.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
fallocate.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
fstatfs64.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
ftw64.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
ftw.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
glob64.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
ioctl.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ld.abilist MIPS: Consolidate nptl/ subdirectories under linux/... 2014-06-27 11:41:04 -07:00
libc.abilist MIPS: Consolidate nptl/ subdirectories under linux/... 2014-06-27 11:41:04 -07:00
libresolv.abilist MIPS: Consolidate nptl/ subdirectories under linux/... 2014-06-27 11:41:04 -07:00
posix_fadvise64.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
posix_fadvise.c Fix MIPS n64 posix_fadvise namespace (bug 17796). 2015-01-05 18:02:31 +00:00
posix_fallocate64.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
posix_fallocate.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
preadv64.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
pwritev64.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
sendfile64.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
statfs64.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
syscalls.list Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
sysdep.h Use better variable names in MIPS syscall macros. 2015-06-02 20:38:49 +00:00