glibc/sysdeps/ia64
Joseph Myers 547e970409 Fix sysdeps/ia64/fpu/libm-symbols.h for inclusion in testcases.
IA64 builds in math/ use "-include libm-symbols.h".  This breaks the
signgam tests, which rely on undefining _LIBC and feature test macros
and defining _ISOMAC before including system headers to get them to
provide only ISO C declarations (libm-symbols.h ending up indirectly
including headers which result in this breaking); similarly, it breaks
C++ tests as some headers included from libm-symbols.h are not ready
for inclusion in C++ code.  This patch disables the contents of
libm-symbols.h if __STRICT_ANSI__ or __cplusplus are defined to avoid
this problem (this header can only test symbols defined before the
source file is processed, so can't test _ISOMAC because that's defined
within the source file, after this header is included).

Tested (compilation only) for ia64.

	* sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
	[!__STRICT_ANSI__ && !__cplusplus].
2016-11-28 23:12:49 +00:00
..
bits Refactor float_t, double_t information into bits/flt-eval-method.h. 2016-11-24 18:44:50 +00:00
fpu Fix sysdeps/ia64/fpu/libm-symbols.h for inclusion in testcases. 2016-11-28 23:12:49 +00:00
nptl Remove cached PID/TID in clone 2016-11-24 19:38:51 -02:00
_mcount.S
abort-instr.h
atomic-machine.h
backtrace.c
bcopy.S
bzero.S
configure
configure.ac
crti.S
crtn.S
dl-dtprocnum.h
dl-fptr.h
dl-lookupcfg.h
dl-machine.h
dl-sysdep.h
dl-tls.h
dl-trampoline.S
entry.h
gccframe.h
hp-timing.h
htonl.S
htons.S
ia64libgcc.S
ieee754.h
Implies
jmpbuf-unwind.h
ldbl2mpn.c
ldsodefs.h
libc-tls.c
linkmap.h
machine-gmon.h
Makeconfig
Makefile
memccpy.S
memchr.S
memcmp.S
memcpy.S
memmove.S
memset.S
memusage.h
sched_cpucount.c
softpipe.h
sotruss-lib.c
stackguard-macros.h
stackinfo.h
start.S
strcat.c
strchr.S
strcmp.S
strcpy.S
strlen.S
strncmp.S
strncpy.S
sysdep.h
tininess.h
tls-macros.h
tst-audit.h
Versions