From ce12fc711387375d0248ab3ff9084fb958c43bc6 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 18 May 2020 14:56:26 +0200 Subject: Remove NO_CTORS_DTORS_SECTIONS macro This was originally added to support binutils older than version 2.22: Since 2.22 is older than the minimum required binutils version for building glibc, we no longer need this. (The changes do not impact the statically linked startup code.) --- include/libc-internal.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/libc-internal.h b/include/libc-internal.h index 4c74f6ba60..729db7918e 100644 --- a/include/libc-internal.h +++ b/include/libc-internal.h @@ -24,9 +24,6 @@ /* Initialize the `__libc_enable_secure' flag. */ extern void __libc_init_secure (void); -/* This function will be called from _init_first in init-first.c. */ -extern void __libc_global_ctors (void); - /* Discover the tick frequency of the machine if something goes wrong, we return 0, an impossible hertz. */ extern int __profile_frequency (void); -- cgit v1.2.1