4c92852a80
we're ELF now, and there are many missing checks against OBJECT_FMT. if we ever consider switching, the we can figure out what new ones we need but for now it's just clutter. this doesn't remove any of the support for exec_aout or any actually required-for-boot a.out support, only the ability to build a netbsd release in a.out format. ie, most of this code has been dead for over a decade. i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari, amiga, shark, cats, dreamcast, landisk, mmeye and x68k. this covers the 5 MACHINE_ARCH's affected, and all the other arch code touched. it also includes some actual run-time testing of sparc, i386 and shark, and i performed binary comparison upon amiga and x68k as well. some minor details relevant: - move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them down to only the parts ldconfig needs - remove various unused source files - switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
23 lines
439 B
Makefile
23 lines
439 B
Makefile
# $NetBSD: Makefile,v 1.47 2010/07/06 05:59:53 mrg Exp $
|
|
|
|
.include <bsd.own.mk> # for MKPIC definition
|
|
|
|
.if ${MKPIC} != "no" && exists(ld.so.${MACHINE_ARCH}.uue)
|
|
|
|
FILES= ld.so
|
|
FILESDIR= /usr/libexec
|
|
FILESMODE= ${BINMODE}
|
|
UUDECODE_FILES= ld.so.${MACHINE_ARCH}
|
|
UUDECODE_FILES_RENAME_${UUDECODE_FILES}= ld.so
|
|
|
|
all dependall: ${FILES}
|
|
|
|
ld.so: ld.so.${MACHINE_ARCH}
|
|
|
|
.endif
|
|
|
|
MAN= ld.aout_so.1
|
|
|
|
.include <bsd.files.mk>
|
|
.include <bsd.prog.mk>
|