From cc0c3bf9a4bad4df72deb36c7f95270a0c7f36d3 Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Sat, 7 Dec 2013 08:47:09 +0000 Subject: Robustify check for IFUNC support. * config/linux.c (linux_has_ifunc_p): Use correct test. From-SVN: r205779 --- gcc/ChangeLog | 4 ++++ gcc/config/linux.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b23d552..42c623e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2013-12-07 Maxim Kuvyrkov + * config/linux.c (linux_has_ifunc_p): Use correct test. + +2013-12-07 Maxim Kuvyrkov + * config/linux.c (linux_android_has_ifunc_p): Rename to linux_has_ifunc_p. (linux_android_libc_has_function): Rename to linux_libc_has_function. diff --git a/gcc/config/linux.c b/gcc/config/linux.c index 40e5cbd..ffaf614 100644 --- a/gcc/config/linux.c +++ b/gcc/config/linux.c @@ -29,7 +29,7 @@ along with GCC; see the file COPYING3. If not see bool linux_has_ifunc_p (void) { - return TARGET_ANDROID ? false : HAVE_GNU_INDIRECT_FUNCTION; + return OPTION_BIONIC ? false : HAVE_GNU_INDIRECT_FUNCTION; } bool -- cgit v1.1