[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.
This commit is contained in:
Samuel Thibault 2017-08-02 23:29:57 +02:00
parent 42df8d5921
commit 8ee1abdb4b
2 changed files with 12 additions and 0 deletions

View File

@ -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]

View File

@ -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)
{
}