Robustify check for IFUNC support.

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

From-SVN: r205779
This commit is contained in:
Maxim Kuvyrkov 2013-12-07 08:47:09 +00:00 committed by Maxim Kuvyrkov
parent 1e9da8f6cf
commit cc0c3bf9a4
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -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