glibc/sysdeps/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 -Wundef warnings for _ABI* on MIPS. 2014-03-21 18:21:13 +00:00
fpu
ieee754
include/sys
mips32 Don't include individual test ulps in libm-test-ulps. 2014-03-05 15:02:38 +00:00
mips64 Don't include individual test ulps in libm-test-ulps. 2014-03-05 15:02:38 +00:00
nptl Compile with -Wundef. 2014-03-14 11:32:51 -07:00
soft-fp soft-fp: support after-rounding tininess detection. 2014-02-12 18:27:12 +00:00
sys
__longjmp.c
abort-instr.h
add_n.S
addmul_1.S
backtrace.c
bsd-_setjmp.S
bsd-setjmp.S
configure
configure.ac
dl-dtprocnum.h
dl-machine.h Merge MIPS dl-lookup.c into generic file. 2014-02-11 22:33:07 +00:00
dl-procinfo.c
dl-procinfo.h
dl-tls.h
dl-trampoline.c
fpregdef.h
fpu_control.h
gccframe.h
Implies
jmpbuf-unwind.h
ldsodefs.h
libc-tls.c
lshift.S
machine-gmon.h
Makefile
math_private.h Fix MIPS libc_feresetround*_ctx to preserve exceptions. 2014-03-11 22:30:40 +00:00
math-tests.h Update MIPS math-tests.h for GCC 4.9 using soft-fp. 2014-02-13 00:46:45 +00:00
memcpy.S
memset.S
memusage.h
mul_1.S
preconfigure
regdef.h
rshift.S
setjmp_aux.c
setjmp.S
sgidefs.h
shlib-versions
sotruss-lib.c
stackinfo.h
start.S
sub_n.S
submul_1.S
tininess.h
tls-macros.h
tst-audit.h