process DT_RELR relocations in ldso-startup/static-pie
authorRich Felker <dalias@aerifal.cx>
Mon, 12 Sep 2022 12:30:36 +0000 (08:30 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 12 Sep 2022 12:30:36 +0000 (08:30 -0400)
commit6f3ead0ae16deb9f0004b275e29a276c9712ee3c
treec96c11e1435f0bab6b15bd07e304cdc7df9f97ed
parent25085c85a0055a94919bf522c96803db7c885431
process DT_RELR relocations in ldso-startup/static-pie

commit d32dadd60efb9d3b255351a3b532f8e4c3dd0db1 added DT_RELR
processing for programs and shared libraries processed by the dynamic
linker, but left them unsupported in the dynamic linker itseld and in
static pie binaries, which self-relocate via code in dlstart.c.

add the equivalent processing to this code path so that there are not
arbitrary restrictions on where the new packed relative relocation
form can be used.
ldso/dlstart.c