Remove obsolete compatibility links

* /usr/bin/strip would be replaced by a link, even when compiling
    binutils.
 * Updated minix-spec.h to use the correct dynamic linker, and removed
    the previously used symlinks.
 * Removed the patch to the builtin PATH of ld.elf_so.

Change-Id: I4dc8a7fb77a11638f5105a4e15b6c9be5add750e
This commit is contained in:
Lionel Sambuc 2013-10-04 15:41:18 +02:00
parent 11bab4dff7
commit ff68abe6b3
6 changed files with 5 additions and 18 deletions

View file

@ -127,10 +127,6 @@
./home/bin/.exrc minix-sys
./home/bin/.profile minix-sys
./lib minix-sys
./lib/cpp minix-sys
./libexec minix-sys
./libexec/ld.elf_so minix-sys
./libexec/ld-elf.so.1 minix-sys
./mnt minix-sys
./multiboot minix-sys
./multiboot/kernel minix-sys
@ -246,7 +242,7 @@
./usr/bin/cal minix-sys
./usr/bin/calendar minix-sys
./usr/bin/cawf minix-sys
./usr/bin/cc minix-sys
./usr/bin/cc minix-sys gcccmds
./usr/bin/cc1 minix-sys gcccmds
./usr/bin/cc1obj minix-sys gcccmds
./usr/bin/cc1plus minix-sys gcccmds
@ -501,7 +497,7 @@
./usr/bin/srccrc minix-sys
./usr/bin/stat minix-sys
./usr/bin/strings minix-sys binutils
./usr/bin/strip minix-sys
./usr/bin/strip minix-sys binutils
./usr/bin/stty minix-sys
./usr/bin/su minix-sys
./usr/bin/sum minix-sys

View file

@ -299,11 +299,8 @@ CONFIGSYMLINKS+= ${TZDIR}/${LOCALTIME} /etc/localtime \
/usr/sbin/rmt /etc/rmt
.else
CONFIGSYMLINKS+= \
/usr/lib/cpp /lib/cpp \
/usr/log /var/log \
/usr/tmp /var/tmp \
/usr/pkg/bin/clang /usr/bin/cc \
/usr/pkg/bin/strip /usr/bin/strip \
/proc/mounts /etc/mtab
.endif # !defined(__MINIX)

View file

@ -25,7 +25,6 @@
./etc/system.conf.d
./home
./lib
./libexec
./mnt
./proc
./root

View file

@ -84,7 +84,7 @@
#define MINIX_SUBTARGET_EXTRA_ASM_SPEC ""
#define MINIX_SUBTARGET_ASM_FLOAT_SPEC ""
#define MINIX_DYNAMIC_LINKER "/libexec/ld-elf.so.1"
#define MINIX_DYNAMIC_LINKER "/usr/libexec/ld.elf_so"
/* Under MINIX, just like on NetBSD, the normal location of the various
* *crt*.o files is the /usr/lib directory. */

View file

@ -7,11 +7,6 @@ USE_BITCODE=no
WARNS?=4
# Minix Clang binaries references /libexec/ld.elf_so
SYMLINKS+= ${SHLINKINSTALLDIR}/${PROG} /libexec/ld.elf_so
# And the minix gcc currently references /libexec/ld-elf.so.1
SYMLINKS+= ${SHLINKINSTALLDIR}/${PROG} /libexec/ld-elf.so.1
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
.include <${BSD_MK_COMPAT_FILE}>

View file

@ -49,7 +49,7 @@
#if defined(_RTLD_SOURCE)
#ifndef RTLD_DEFAULT_LIBRARY_PATH
#define RTLD_DEFAULT_LIBRARY_PATH "/lib:/usr/lib:/libexec"
#define RTLD_DEFAULT_LIBRARY_PATH "/usr/lib"
#endif
#define _PATH_LD_HINTS "/etc/ld.so.conf"