about summary refs log tree commit diff
path: root/sysdeps/mach/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-08-02 23:29:57 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-08-02 23:29:57 +0200
commit8ee1abdb4b2c92fb5f189aabec34d1b7d54ac332 (patch)
tree66707cc040b0a7cd3b41206e0136c61bc88b69d1 /sysdeps/mach/hurd
parent42df8d5921d9ce28f44694ae943efb432b5e9aa7 (diff)
downloadglibc-8ee1abdb4b2c92fb5f189aabec34d1b7d54ac332.tar.gz
glibc-8ee1abdb4b2c92fb5f189aabec34d1b7d54ac332.tar.xz
glibc-8ee1abdb4b2c92fb5f189aabec34d1b7d54ac332.zip
[hurd]: Add __libc_init_secure stub
csu/libc-start.c now insists on calling __libc_init_secure, while the Hurd
port already implements it "very early" in dl-sysdep.c and init-first.c

	* sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
	function.
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r--sysdeps/mach/hurd/enbl-secure.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/enbl-secure.c b/sysdeps/mach/hurd/enbl-secure.c
index 9aeb0fafa6..87a8f93013 100644
--- a/sysdeps/mach/hurd/enbl-secure.c
+++ b/sysdeps/mach/hurd/enbl-secure.c
@@ -21,3 +21,10 @@
    In the shared library, the `__libc_enable_secure' variable is defined
    by the dynamic linker in dl-sysdep.c and set there.
    In the static library, it is defined in init-first.c and set there.  */
+
+#include <libc-internal.h>
+
+void
+__libc_init_secure (void)
+{
+}