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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to