summary refs log tree commit diff
path: root/sysdeps/mach/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-05-30 22:13:47 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-05-30 22:13:47 +0200
commit600c13bf7233b9612e772a94411b8d688b859142 (patch)
treef7b2fce719997f44692e3a7045524fea1cfc4d4d /sysdeps/mach/hurd
parent94d211c87955d79fe6a74d7385bff014cfc95192 (diff)
downloadglibc-600c13bf7233b9612e772a94411b8d688b859142.tar.gz
glibc-600c13bf7233b9612e772a94411b8d688b859142.tar.xz
glibc-600c13bf7233b9612e772a94411b8d688b859142.zip
hurd: disable ifunc for now
	* sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
	Set to no.
	* sysdeps/mach/hurd/configure: Refresh.
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r--sysdeps/mach/hurd/configure2
-rw-r--r--sysdeps/mach/hurd/configure.ac6
2 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/configure b/sysdeps/mach/hurd/configure
index 3d155a450e..163b5c7730 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 af9a9ea052..5539a8c8af 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