glibc/sysdeps/unix/sysv/linux/mips
Joseph Myers 1ca2d03e3e Fix -Wundef warnings for _ABI* on MIPS.
This patch fixes -Wundef warnings related to the _ABI* macros on MIPS.
GCC predefines only the _ABI* macro related to the ABI actually in
use, meaning that a conditional such as "#if _MIPS_SIM == _ABI64" is
true only for the ABI in question (all the macros are nonzero), but
produces a -Wundef warning for the other ABIs.  The normal approach to
using these macros is to include <sgidefs.h>, which ensures that all
three _ABI* macros are defined rather than just one; this patch does
so in the places that caused warnings (the bulk of the warnings
arising from <bits/wordsize.h>).  Tested that the warnings are fixed.

	* sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
	* sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2014-03-21 18:21:13 +00:00
..
bits Fix POSIX namespace for <bits/siginfo.h> (bug 16674). 2014-03-07 23:57:56 +00:00
mips32
mips64
nptl
sys
Makefile
Versions
____longjmp_chk.c
_test_and_set.c
brk.c
clone.S
configure
configure.ac
dl-cache.h
dl-static.c
getcontext.S
getmsg.c
getrlimit64.c Fix -Wundef warnings for _ABI* on MIPS. 2014-03-21 18:21:13 +00:00
getsysstats.c
ipc_priv.h
kernel-features.h Fix __ASSUME_SENDMMSG issues (bug 16611). 2014-02-20 17:55:35 +00:00
kernel_rt_sigframe.h
kernel_sigaction.h
kernel_stat.h
kernel_termios.h
ldsodefs.h
libc-abis
makecontext.S
pipe.S
pread.c
pread64.c
profil-counter.h
putmsg.c
pwrite.c
pwrite64.c
readelflib.c
register-dump.h
setcontext.S
setrlimit64.c Fix -Wundef warnings for _ABI* on MIPS. 2014-03-21 18:21:13 +00:00
sigaction.c
sigcontextinfo.h
swapcontext.S
syscalls.list
ucontext_i.sym
ustat.c
vfork.S
xstatconv.c