elf: Relocate libc.so early during startup and dlmopen (bug 31083)
authorFlorian Weimer <fweimer@redhat.com>
Mon, 27 Nov 2023 10:28:13 +0000 (11:28 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 27 Nov 2023 10:28:13 +0000 (11:28 +0100)
commit78ca44da0160a0b442f0ca1f253e3360f044b2ec
tree248cff1b3dc9e22595ad4d9871598bf6bd389c74
parenta74c2e1cbc8673dd7e97aae2f2705392e2ccc3f6
elf: Relocate libc.so early during startup and dlmopen (bug 31083)

This makes it more likely that objects without dependencies can
use IFUNC resolvers in libc.so.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
elf/Makefile
elf/dl-open.c
elf/rtld.c
elf/tst-nodeps1-mod.c [new file with mode: 0644]
elf/tst-nodeps1.c [new file with mode: 0644]
elf/tst-nodeps2-mod.c [new file with mode: 0644]
elf/tst-nodeps2.c [new file with mode: 0644]