From 302247c89121e8d4c7629e589edbb4974fff6edb Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Tue, 10 Aug 2021 11:04:56 -0700 Subject: elf: Unconditionally use __ehdr_start We can consider __ehdr_start (from binutils 2.23 onwards) unconditionally supported, since configure.ac requires binutils>=2.25. The configure.ac check is related to an ia64 bug fixed by binutils 2.24. See https://sourceware.org/pipermail/libc-alpha/2014-August/053503.html Tested on x86_64-linux-gnu. Tested build-many-glibcs.py with aarch64-linux-gnu and s390x-linux-gnu. Reviewed-by: Szabolcs Nagy --- config.h.in | 3 --- 1 file changed, 3 deletions(-) (limited to 'config.h.in') diff --git a/config.h.in b/config.h.in index 8b45a3a61d..0d92504f65 100644 --- a/config.h.in +++ b/config.h.in @@ -198,9 +198,6 @@ /* Define if CC supports attribute retain. */ #undef HAVE_GNU_RETAIN -/* Define if the linker defines __ehdr_start. */ -#undef HAVE_EHDR_START - /* Define to 1 if the assembler needs intermediate aliases to define multiple symbol versions for one symbol. */ #define SYMVER_NEEDS_ALIAS 0 -- cgit 1.4.1