]> git.ipfire.org Git - thirdparty/glibc.git/commit
elf: Unconditionally use __ehdr_start
authorFangrui Song <maskray@google.com>
Fri, 27 Aug 2021 00:41:24 +0000 (17:41 -0700)
committerFangrui Song <i@maskray.me>
Sat, 28 Aug 2021 00:26:09 +0000 (17:26 -0700)
commitec38ea9597b3c5ebcf71ff4d07a3ffc1c010bbee
treefc0da86e836968746d2a3b01542fdde732d66e62
parent6056776143dbc9cb0b62fc3c0f1ce5f44bbb3a71
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>
(cherry picked from commit 302247c89121e8d4c7629e589edbb4974fff6edb)
config.h.in
configure
configure.ac
elf/rtld.c