summary refs log tree commit diff
path: root/config.h.in
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2021-08-10 11:04:56 -0700
committerFangrui Song <maskray@google.com>2021-08-10 11:04:56 -0700
commit302247c89121e8d4c7629e589edbb4974fff6edb (patch)
treed0af2abbabc149fac1e598639652b60ea5221c8a /config.h.in
parent13710e7e6af6c8965cc9a63a0660cb4ce1966557 (diff)
downloadglibc-302247c89121e8d4c7629e589edbb4974fff6edb.tar.gz
glibc-302247c89121e8d4c7629e589edbb4974fff6edb.tar.xz
glibc-302247c89121e8d4c7629e589edbb4974fff6edb.zip
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 <szabolcs.nagy@arm.com>
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in3
1 files changed, 0 insertions, 3 deletions
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