Commit cc0c3bf9 by Maxim Kuvyrkov Committed by Maxim Kuvyrkov

Robustify check for IFUNC support.

	* config/linux.c (linux_has_ifunc_p): Use correct test.

From-SVN: r205779
parent 1e9da8f6
2013-12-07 Maxim Kuvyrkov <maxim@kugelworks.com> 2013-12-07 Maxim Kuvyrkov <maxim@kugelworks.com>
* config/linux.c (linux_has_ifunc_p): Use correct test.
2013-12-07 Maxim Kuvyrkov <maxim@kugelworks.com>
* config/linux.c (linux_android_has_ifunc_p): Rename to * config/linux.c (linux_android_has_ifunc_p): Rename to
linux_has_ifunc_p. linux_has_ifunc_p.
(linux_android_libc_has_function): Rename to linux_libc_has_function. (linux_android_libc_has_function): Rename to linux_libc_has_function.
...@@ -29,7 +29,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -29,7 +29,7 @@ along with GCC; see the file COPYING3. If not see
bool bool
linux_has_ifunc_p (void) linux_has_ifunc_p (void)
{ {
return TARGET_ANDROID ? false : HAVE_GNU_INDIRECT_FUNCTION; return OPTION_BIONIC ? false : HAVE_GNU_INDIRECT_FUNCTION;
} }
bool bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment