This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[commited,hurd] Add __libc_init_secure stub
- From: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- To: libc-alpha at sourceware dot org
- Date: Wed, 2 Aug 2017 23:34:27 +0200
- Subject: [commited,hurd] Add __libc_init_secure stub
- Authentication-results: sourceware.org; auth=none
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.
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)
+{
+}