Set __ehdr_start rel_from_abs earlier
authorAlan Modra <amodra@gmail.com>
Tue, 25 Jan 2022 23:55:24 +0000 (10:25 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 28 Jan 2022 06:30:55 +0000 (17:00 +1030)
commit5617fae7034b141be20c51d901a62fb6ee573cfd
tree2d3027be749d2ed76309630df34b4557a2708f2a
parent1004091634f2aca697dd01a77b72ca81e52d753e
Set __ehdr_start rel_from_abs earlier

This is just a tidy, making the __ehdr_start symbol flag tweaks all in
one place.

* ldelf.c (ldelf_before_allocation): Don't set rel_from_abs
for __ehdr_start.
* ldlang.c (lang_symbol_tweaks): Set it here instead.
ld/ldelf.c
ld/ldlang.c