Add uuencoded binaries for a.out dynamic loaders on i386 and sparc,

who are ELF now. Needed because cross-building them is still a
problem. These loaders will try /emul/aout first, but do not
have the baggage that COMPAT_AOUT has.
This commit is contained in:
fvdl 2000-09-11 23:23:21 +00:00
parent cb2350a90d
commit 3b36dc8408
3 changed files with 3412 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.28 1999/03/19 22:06:37 thorpej Exp $
# $NetBSD: Makefile,v 1.29 2000/09/11 23:23:21 fvdl Exp $
.include <bsd.own.mk>
.if (${OBJECT_FMT} == "a.out")
@ -28,6 +28,21 @@ $(PROG):
.S.o:
${CPP} ${.IMPSRC} | ${AS} ${ASFLAGS} -o ${.TARGET} -
.elif (${OBJECT_FMT} == "ELF" && (${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "sparc"))
FILES= ld.so
FILESDIR= ${DESTDIR}/usr/libexec
FILESMODE= ${BINMODE}
CLEANFILES+= ld.so
all: ${FILES}
ld.so: ${.CURDIR}/ld.so.${MACHINE_ARCH}.uue
uudecode ${.ALLSRC}
.include <bsd.files.mk>
.endif
MAN= rtld.1

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff