elf: In _dl_relocate_object, skip processing if object is relocated
commitb893410be304ddcea0bd43f537a13e8b18d37cf2
authorFlorian Weimer <fweimer@redhat.com>
Mon, 27 Nov 2023 10:28:07 +0000 (27 11:28 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 27 Nov 2023 10:28:07 +0000 (27 11:28 +0100)
tree1bfcbb7155b90560620618752275a0b12e493636
parent2e0c0ff95ca0e3122eb5b906ee26a31f284ce5ab
elf: In _dl_relocate_object, skip processing if object is relocated

This is just a minor optimization.  It also makes it more obvious that
_dl_relocate_object can be called multiple times.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
elf/dl-reloc.c