elf: Remove prelink support
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 13 Jan 2022 20:58:00 +0000 (17:58 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 10 Feb 2022 12:16:12 +0000 (09:16 -0300)
commit6628c742b2c16e785d3c884d9deeda5adb30ca12
tree493580e40aef171896584e1d3d32bbe14c15140b
parent8c8510ab2790039e58995ef3a22309582413d3ff
elf: Remove prelink support

Prelinked binaries and libraries still work, the dynamic tags
DT_GNU_PRELINKED, DT_GNU_LIBLIST, DT_GNU_CONFLICT just ignored
(meaning the process is reallocated as default).

The loader environment variable TRACE_PRELINKING is also removed,
since it used solely on prelink.

Checked on x86_64-linux-gnu, i686-linux-gnu, and aarch64-linux-gnu.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
25 files changed:
NEWS
elf/Makefile
elf/dl-conflict.c [deleted file]
elf/dl-deps.c
elf/dl-error-skeleton.c
elf/dl-load.c
elf/dl-lookup.c
elf/do-rel.h
elf/rtld.c
elf/tst-prelink-cmp.c [deleted file]
elf/tst-prelink.c [deleted file]
include/link.h
sysdeps/alpha/dl-machine.h
sysdeps/arm/dl-machine.h
sysdeps/generic/ldsodefs.h
sysdeps/i386/dl-machine.h
sysdeps/or1k/dl-machine.h
sysdeps/powerpc/powerpc32/dl-machine.h
sysdeps/powerpc/powerpc64/dl-machine.h
sysdeps/s390/s390-32/dl-machine.h
sysdeps/s390/s390-64/dl-machine.h
sysdeps/sh/dl-machine.h
sysdeps/sparc/sparc32/dl-machine.h
sysdeps/sparc/sparc64/dl-machine.h
sysdeps/x86_64/dl-machine.h