hurd: disable ifunc for now

* sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
	Set to no.
	* sysdeps/mach/hurd/configure: Refresh.
This commit is contained in:
Samuel Thibault 2016-05-30 22:13:47 +02:00
parent 94d211c879
commit 600c13bf72
3 changed files with 11 additions and 0 deletions

View File

@ -3,6 +3,9 @@
* scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
i386-linux-gnu). i386-linux-gnu).
* sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
Set to no.
* sysdeps/mach/hurd/configure: Refresh.
2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org> 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>

View File

@ -45,3 +45,5 @@ fi
if test -n "$sysheaders"; then if test -n "$sysheaders"; then
CPPFLAGS=$OLD_CPPFLAGS CPPFLAGS=$OLD_CPPFLAGS
fi fi
libc_cv_ld_gnu_indirect_function=no

View File

@ -1,6 +1,8 @@
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
dnl We need this setting because of the need for PLT calls in ld.so. dnl We need this setting because of the need for PLT calls in ld.so.
dnl See Roland's comment in
dnl https://sourceware.org/bugzilla/show_bug.cgi?id=15605
AC_DEFINE([NO_HIDDEN]) AC_DEFINE([NO_HIDDEN])
if test -n "$sysheaders"; then if test -n "$sysheaders"; then
@ -24,3 +26,7 @@ fi
if test -n "$sysheaders"; then if test -n "$sysheaders"; then
CPPFLAGS=$OLD_CPPFLAGS CPPFLAGS=$OLD_CPPFLAGS
fi fi
dnl ifunc does not work yet for static binaries
dnl http://www.gnu.org/software/hurd/open_issues/ifunc.html
libc_cv_ld_gnu_indirect_function=no