diff options
author | gordon <gordon@FreeBSD.org> | 2003-08-17 08:06:00 +0000 |
---|---|---|
committer | gordon <gordon@FreeBSD.org> | 2003-08-17 08:06:00 +0000 |
commit | 1d5cce0fc05db0a41aa4a51f83f2862dffad9ad0 (patch) | |
tree | 9239f4c344ca752db86f82eaf5c7ce57a8657c01 /libexec | |
parent | 9c31ae18332f1e85ecb16a7e327a82c686ad6fe0 (diff) | |
download | FreeBSD-src-1d5cce0fc05db0a41aa4a51f83f2862dffad9ad0.zip FreeBSD-src-1d5cce0fc05db0a41aa4a51f83f2862dffad9ad0.tar.gz |
As long threatened, stage 2 of making a dynamically-linked root a reality.
Install rtld into /libexec.
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/rtld-elf/Makefile | 2 | ||||
-rw-r--r-- | libexec/rtld-elf/rtld.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile index aff795f..7a16426 100644 --- a/libexec/rtld-elf/Makefile +++ b/libexec/rtld-elf/Makefile @@ -9,6 +9,8 @@ CFLAGS+= -Wall -DFREEBSD_ELF -DIN_RTLD CFLAGS+= -I${.CURDIR}/${MACHINE_ARCH} -I${.CURDIR} LDFLAGS+= -nostdlib -e .rtld_start INSTALLFLAGS= -fschg -C -b +BINDIR= /libexec +SYMLINKS= ${BINDIR}/ld-elf.so.1 /usr/libexec/ld-elf.so.1 MLINKS= rtld.1 ld-elf.so.1.1 \ rtld.1 ld.so.1 diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index 5fc03b0..e8cbf24 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -57,7 +57,7 @@ #endif #define END_SYM "_end" -#define PATH_RTLD "/usr/libexec/ld-elf.so.1" +#define PATH_RTLD "/libexec/ld-elf.so.1" /* Types. */ typedef void (*func_ptr_type)(); |