diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-04-06 16:26:32 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-04-06 16:48:08 -0500 |
commit | 7ffa9423020fe331b45a56b804c95929a0398e8b (patch) | |
tree | 2db5161018046fbcf34bd145c5095765dec6f3c1 /ChangeLog | |
parent | 8bd70862e11023e7f827f240a5a214f847ae982d (diff) | |
download | glibc-7ffa9423020fe331b45a56b804c95929a0398e8b.tar glibc-7ffa9423020fe331b45a56b804c95929a0398e8b.tar.gz glibc-7ffa9423020fe331b45a56b804c95929a0398e8b.tar.bz2 glibc-7ffa9423020fe331b45a56b804c95929a0398e8b.zip |
PowerPC: define _CALL_ELF if compiler does not
This patch makes the configure adds -D_CALL_ELF=1 when compiler does
not define _CALL_ELF (versions before powerpc64le support). It cleans
up compiler warnings on old compiler where _CALL_ELF is not defined
on powerpc64(be) builds.
It does by add a new config.make variable for configure-deduced
CPPFLAGS and accumulate into that (confix-extra-cppflags). It also
generalizes libc_extra_cflags so it accumulates in sysdeps configure
fragmenets.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,5 +1,19 @@ 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list. + * config.make.in (config-extra-cppflags): Set it from + libc_extra_cppflags. + * configure.ac (libc_extra_cflags): Make it accumulate over + configure fragments. + (libc_extra_cppflags): New flag. + * configure. Regenerate. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac + (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set + _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate. + +2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + [BZ #16815] * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix result for FE_DOWNWARD rounding mode. |