aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAlexander Ivchenko <alexander.ivchenko@intel.com>2014-12-10 13:49:19 +0000
committerKirill Yukhin <kyukhin@gcc.gnu.org>2014-12-10 13:49:19 +0000
commitef9b7fad361c3b534588628ca8ae2b670aae934d (patch)
tree30b578acff5f3360f045181da8fd21a9807c2be3 /gcc
parentf50eecba1389ff9da5112b2aaeb93c6ebaa38afc (diff)
downloadgcc-ef9b7fad361c3b534588628ca8ae2b670aae934d.zip
gcc-ef9b7fad361c3b534588628ca8ae2b670aae934d.tar.gz
gcc-ef9b7fad361c3b534588628ca8ae2b670aae934d.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/linux.c8
-rw-r--r--gcc/config/linux.h4
3 files changed, 5 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a8d9198..ccf4920 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-08 Alexander Ivchenko <alexander.ivchenko@intel.com>
+
+ * config/linux.c (linux_has_ifunc_p): Remove.
+ * config/linux.h (TARGET_HAS_IFUNC_P): Use default version.
+
2014-12-10 Mantas Mikaitis <mantas.mikaitis@arm.com>
* contrib/check_GNU_style.sh (col): Got rid of cut operation
diff --git a/gcc/config/linux.c b/gcc/config/linux.c
index 6242e11..15df213 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 d38ef81..6ccacff 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