git: Dynamic root: Move ld-elf.so.2 to /libexec

Francois Tigeot ftigeot at crater.dragonflybsd.org
Fri Apr 11 23:47:19 PDT 2014


commit 16dbe6a928240d2203ae04fada72427e278b6f55
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Sat Apr 12 08:41:54 2014 +0200

    Dynamic root: Move ld-elf.so.2 to /libexec
    
    * Install it first to avoid breaking upgrades for systems previously
      having it located in /usr/libexec. install(1), beeing a dynamic binary,
      needs it at runtime.
    
    * Since ld-elf.so.2's path is embedded in ELF binaries, also create a
      symbolic link in the old location to support existing binaries.
    
    * Code to handle chflags attributes obtained from FreeBSD.

Summary of changes:
 Makefile.inc1                          | 10 +++++++---
 contrib/gcc-4.4/gcc/config/dragonfly.h |  3 +--
 contrib/gcc-4.7/gcc/config/dragonfly.h |  2 +-
 libexec/rtld-elf/Makefile              |  9 +++++++++
 sys/cpu/i386/misc/elf_machdep.c        |  2 +-
 sys/cpu/x86_64/misc/elf_machdep.c      |  2 +-
 6 files changed, 20 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/16dbe6a928240d2203ae04fada72427e278b6f55


-- 
DragonFly BSD source repository



More information about the Commits mailing list