Dynamic root: Move ld-elf.so.2 to /libexec
authorFrançois Tigeot <ftigeot@wolfpond.org>
Sat, 12 Apr 2014 06:41:54 +0000 (08:41 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Sat, 12 Apr 2014 06:42:34 +0000 (08:42 +0200)
commit16dbe6a928240d2203ae04fada72427e278b6f55
treef2a5eec1bb96c47306d7763851ad7aaecc33091c
parentf1a69796b51282f2df24b35b2d587bf74e2adf06
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.
Makefile.inc1
contrib/gcc-4.4/gcc/config/dragonfly.h
contrib/gcc-4.7/gcc/config/dragonfly.h
libexec/rtld-elf/Makefile
sys/cpu/i386/misc/elf_machdep.c
sys/cpu/x86_64/misc/elf_machdep.c