From: Samuel Thibault Date: Wed, 2 Aug 2017 21:29:57 +0000 (+0200) Subject: [hurd]: Add __libc_init_secure stub X-Git-Tag: glibc-2.27~1249 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ee1abdb4b2c92fb5f189aabec34d1b7d54ac332;p=thirdparty%2Fglibc.git [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. --- diff --git a/ChangeLog b/ChangeLog index a3bc654f650..a8e2c27c1f7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-08-02 Samuel Thibault + + * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define + function. + 2017-08-02 Joseph Myers [BZ #21686] diff --git a/sysdeps/mach/hurd/enbl-secure.c b/sysdeps/mach/hurd/enbl-secure.c index 9aeb0fafa6b..87a8f930136 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 + +void +__libc_init_secure (void) +{ +}