As long threatened, stage 2 of making a dynamically-linked root a reality.
Install rtld into /libexec.
This commit is contained in:
parent
7b73593acd
commit
df7c0368c1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119014
@ -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
|
||||
|
||||
|
@ -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)();
|
||||
|
Loading…
Reference in New Issue
Block a user