]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
[hurd]: Add __libc_init_secure stub
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 2 Aug 2017 21:29:57 +0000 (23:29 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 2 Aug 2017 21:29:57 +0000 (23:29 +0200)
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.

ChangeLog
sysdeps/mach/hurd/enbl-secure.c

index a3bc654f650e7089b008825d009d869577edf385..a8e2c27c1f757cf37294a9f17bebf700635d9a2e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-08-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+       * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
+       function.
+
 2017-08-02  Joseph Myers  <joseph@codesourcery.com>
 
        [BZ #21686]
index 9aeb0fafa6b7c91f8ebbe7fea646196c6f1a873d..87a8f9301361910809b777cea583e86234222dea 100644 (file)
    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)
+{
+}