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:
@@ -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}>
|
||||
@@ -74,7 +69,7 @@ CLIBOBJ!= cd ${NETBSDSRCDIR}/lib/libc && ${PRINTOBJDIR}
|
||||
|
||||
SRCS+= rtld.c reloc.c symbol.c xmalloc.c xprintf.c debug.c \
|
||||
map_object.c load.c search.c headers.c paths.c expand.c \
|
||||
tls.c symver.c diagassert.c map_object_fallback.c
|
||||
tls.c symver.c diagassert.c map_object_fallback.c
|
||||
|
||||
.if ${USE_FORT} == "yes"
|
||||
.PATH.c: ${NETBSDSRCDIR}/lib/libc/misc
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user