From bcba7ecc113b82f1b80457df2b4edf35847fcf56 Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Thu, 22 Aug 2013 15:28:15 +0000 Subject: [PATCH] linux.h (TARGET_LIBC_HAS_FUNCTION): Define as gnu_libc_has_function. 2013-08-22 Andreas Krebbel * config/s390/linux.h (TARGET_LIBC_HAS_FUNCTION): Define as gnu_libc_has_function. * config/s390/tpf.h: Likewise. From-SVN: r201922 --- gcc/ChangeLog | 6 ++++++ gcc/config/s390/linux.h | 3 +++ gcc/config/s390/tpf.h | 6 +++--- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6cfd96e401e..4ebbc85e509 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2013-08-22 Andreas Krebbel + + * config/s390/linux.h (TARGET_LIBC_HAS_FUNCTION): Define as + gnu_libc_has_function. + * config/s390/tpf.h: Likewise. + 2013-08-22 Jan Hubicka * timevar.c (validate_phases): Add cast. diff --git a/gcc/config/s390/linux.h b/gcc/config/s390/linux.h index 3b4966a91ff..699b5dfb7e2 100644 --- a/gcc/config/s390/linux.h +++ b/gcc/config/s390/linux.h @@ -87,4 +87,7 @@ along with GCC; see the file COPYING3. If not see /* Define if long doubles should be mangled as 'g'. */ #define TARGET_ALTERNATE_LONG_DOUBLE_MANGLING +#undef TARGET_LIBC_HAS_FUNCTION +#define TARGET_LIBC_HAS_FUNCTION gnu_libc_has_function + #endif diff --git a/gcc/config/s390/tpf.h b/gcc/config/s390/tpf.h index 8eb1947dd3c..a1af01b07b6 100644 --- a/gcc/config/s390/tpf.h +++ b/gcc/config/s390/tpf.h @@ -111,8 +111,8 @@ along with GCC; see the file COPYING3. If not see /* IBM copies these libraries over with these names. */ #define MATH_LIBRARY "CLBM" #define LIBSTDCXX "CPP2" -#endif /* ! _TPF_H */ -/* We redefine this hook so the version from elfos.h header won't be used. */ #undef TARGET_LIBC_HAS_FUNCTION -#define TARGET_LIBC_HAS_FUNCTION default_libc_has_function +#define TARGET_LIBC_HAS_FUNCTION gnu_libc_has_function + +#endif /* ! _TPF_H */ -- 2.30.2