From: Samuel Thibault Date: Mon, 30 May 2016 20:13:47 +0000 (+0200) Subject: hurd: disable ifunc for now X-Git-Tag: glibc-2.24~170^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=600c13bf7233b9612e772a94411b8d688b859142;p=thirdparty%2Fglibc.git hurd: disable ifunc for now * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function): Set to no. * sysdeps/mach/hurd/configure: Refresh. --- diff --git a/ChangeLog b/ChangeLog index 9ed2ebd629e..fe7ef6506d9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,9 @@ * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to 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 diff --git a/sysdeps/mach/hurd/configure b/sysdeps/mach/hurd/configure index 3d155a450ea..163b5c77309 100644 --- a/sysdeps/mach/hurd/configure +++ b/sysdeps/mach/hurd/configure @@ -45,3 +45,5 @@ fi if test -n "$sysheaders"; then CPPFLAGS=$OLD_CPPFLAGS fi + +libc_cv_ld_gnu_indirect_function=no diff --git a/sysdeps/mach/hurd/configure.ac b/sysdeps/mach/hurd/configure.ac index af9a9ea0521..5539a8c8aff 100644 --- a/sysdeps/mach/hurd/configure.ac +++ b/sysdeps/mach/hurd/configure.ac @@ -1,6 +1,8 @@ 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 See Roland's comment in +dnl https://sourceware.org/bugzilla/show_bug.cgi?id=15605 AC_DEFINE([NO_HIDDEN]) if test -n "$sysheaders"; then @@ -24,3 +26,7 @@ fi if test -n "$sysheaders"; then CPPFLAGS=$OLD_CPPFLAGS 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