fix double-processing of DT_RELR relocations in ldso relocating itself
authorRich Felker <dalias@aerifal.cx>
Thu, 10 Nov 2022 14:02:02 +0000 (09:02 -0500)
committerRich Felker <dalias@aerifal.cx>
Thu, 10 Nov 2022 14:02:02 +0000 (09:02 -0500)
commit29e4319178cbc2a4e9f058a99ae8098d4b6ac055
tree22f6d38857fdbd5137372dc15c81dec4200e7530
parentb50eb8c36c20f967bd0ed70c0b0db38a450886ba
fix double-processing of DT_RELR relocations in ldso relocating itself

this is analogous to skip_relative logic in do_relocs -- because
relative relocations for the dynamic linker itself were already
performed at entry (stage 1), they must not be applied again.
ldso/dynlink.c