svn commit: r350575 - in head/libexec/rtld-elf: amd64 i386
Konstantin Belousov
kib at FreeBSD.org
Sun Aug 4 21:43:35 UTC 2019
Author: kib
Date: Sun Aug 4 21:43:34 2019
New Revision: 350575
URL: https://svnweb.freebsd.org/changeset/base/350575
Log:
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
Deleted:
head/libexec/rtld-elf/amd64/elf_rtld.x
head/libexec/rtld-elf/i386/elf_rtld.x
Modified:
head/libexec/rtld-elf/amd64/Makefile.inc
head/libexec/rtld-elf/i386/Makefile.inc
Modified: head/libexec/rtld-elf/amd64/Makefile.inc
==============================================================================
--- head/libexec/rtld-elf/amd64/Makefile.inc Sun Aug 4 20:40:47 2019 (r350574)
+++ head/libexec/rtld-elf/amd64/Makefile.inc Sun Aug 4 21:43:34 2019 (r350575)
@@ -1,6 +1,3 @@
# $FreeBSD$
CFLAGS+= ${CFLAGS_NO_SIMD} -msoft-float
-# Uncomment this to build the dynamic linker as an executable instead
-# of a shared library:
-#LDSCRIPT= ${.CURDIR}/${MACHINE_CPUARCH}/elf_rtld.x
Modified: head/libexec/rtld-elf/i386/Makefile.inc
==============================================================================
--- head/libexec/rtld-elf/i386/Makefile.inc Sun Aug 4 20:40:47 2019 (r350574)
+++ head/libexec/rtld-elf/i386/Makefile.inc Sun Aug 4 21:43:34 2019 (r350575)
@@ -1,6 +1,3 @@
# $FreeBSD$
CFLAGS+= ${CFLAGS_NO_SIMD} -msoft-float
-# Uncomment this to build the dynamic linker as an executable instead
-# of a shared library:
-#LDSCRIPT= ${.CURDIR}/${MACHINE_CPUARCH}/elf_rtld.x
More information about the svn-src-all
mailing list