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/config/linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/config/linux.c') 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