]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
rtld-elf: Remove x86 elf_rtld.x linker scripts.
authorkib <kib@FreeBSD.org>
Sun, 4 Aug 2019 21:43:34 +0000 (21:43 +0000)
committerkib <kib@FreeBSD.org>
Sun, 4 Aug 2019 21:43:34 +0000 (21:43 +0000)
commitb571393ab34c5b3688a7338adde0b30865d7c657
treea96b14939b2b1fdd59ec08b2a923c3af8cea552a
parent6f1b496fece9a974843c18a031f3ed690a09300b
rtld-elf: Remove x86 elf_rtld.x linker scripts.

First, amd64 version of the script cannot work at least due to the
wrong architecture specification.  Second, kernel can activate shared
objects for long time, due to PIE support.

It seems the intent was to allow ld-elf.so.1 to be build and used as
an executable.  Since we have direct exec mode implemented for dso
ld-elf.so.1, the non-functional and commented out scripts can be
finally removed.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
libexec/rtld-elf/amd64/Makefile.inc
libexec/rtld-elf/amd64/elf_rtld.x [deleted file]
libexec/rtld-elf/i386/Makefile.inc
libexec/rtld-elf/i386/elf_rtld.x [deleted file]