Date: Sun, 4 Aug 2019 21:43:35 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r350575 - in head/libexec/rtld-elf: amd64 i386 Message-ID: <201908042143.x74LhZvJ080304@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908042143.x74LhZvJ080304>