From ef9b7fad361c3b534588628ca8ae2b670aae934d Mon Sep 17 00:00:00 2001 From: Alexander Ivchenko Date: Wed, 10 Dec 2014 13:49:19 +0000 Subject: [PATCH] linux.c (linux_has_ifunc_p): Remove. gcc/ * config/linux.c (linux_has_ifunc_p): Remove. * config/linux.h (TARGET_HAS_IFUNC_P): Use default version. From-SVN: r218577 --- gcc/ChangeLog | 5 +++++ gcc/config/linux.c | 8 -------- gcc/config/linux.h | 4 ---- 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a8d919802a7..ccf49201f5f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-12-08 Alexander Ivchenko + + * config/linux.c (linux_has_ifunc_p): Remove. + * config/linux.h (TARGET_HAS_IFUNC_P): Use default version. + 2014-12-10 Mantas Mikaitis * contrib/check_GNU_style.sh (col): Got rid of cut operation diff --git a/gcc/config/linux.c b/gcc/config/linux.c index 6242e11008d..15df21394d0 100644 --- a/gcc/config/linux.c +++ b/gcc/config/linux.c @@ -23,14 +23,6 @@ along with GCC; see the file COPYING3. If not see #include "tm.h" #include "linux-protos.h" -/* Android does not support GNU indirect functions. */ - -bool -linux_has_ifunc_p (void) -{ - return OPTION_BIONIC ? false : HAVE_GNU_INDIRECT_FUNCTION; -} - bool linux_libc_has_function (enum function_class fn_class) { diff --git a/gcc/config/linux.h b/gcc/config/linux.h index d38ef81e34f..6ccacff4727 100644 --- a/gcc/config/linux.h +++ b/gcc/config/linux.h @@ -117,10 +117,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #else /* !uClinux, i.e., normal Linux */ -/* IFUNCs are supported by glibc, but not by uClibc or Bionic. */ -# undef TARGET_HAS_IFUNC_P -# define TARGET_HAS_IFUNC_P linux_has_ifunc_p - /* Determine what functions are present at the runtime; this includes full c99 runtime and sincos. */ # undef TARGET_LIBC_HAS_FUNCTION -- 2.30.2