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.) --- csu/init-first.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'csu') diff --git a/csu/init-first.c b/csu/init-first.c index d214af7116..47aaacdbd0 100644 --- a/csu/init-first.c +++ b/csu/init-first.c @@ -73,10 +73,6 @@ _init_first (int argc, char **argv, char **envp) #endif __init_misc (argc, argv, envp); - -#if defined SHARED && !defined NO_CTORS_DTORS_SECTIONS - __libc_global_ctors (); -#endif } /* This function is defined here so that if this file ever gets into -- cgit 1.4.1