Module Name: src Committed By: mrg Date: Tue Jul 6 06:00:03 UTC 2010
Modified Files: src: Makefile src/crypto/external/bsd/openssl/lib/libcrypto: Makefile src/crypto/external/bsd/openssl/lib/libcrypto_idea: Makefile src/crypto/external/bsd/openssl/lib/libcrypto_mdc2: Makefile src/crypto/external/bsd/openssl/lib/libcrypto_rc5: Makefile src/crypto/external/bsd/openssl/lib/libssl: Makefile src/gnu/lib/crtstuff4: Makefile src/gnu/lib/libstdc++-v3_4: Makefile src/gnu/lib/libsupc++4: Makefile src/gnu/usr.bin: Makefile src/lib/libc/arch/arm: Makefile.inc src/lib/libc/arch/vax: Makefile.inc src/lib/libc/arch/vax/gen: Makefile.inc src/lib/libc/compat/arch/vax: Makefile.inc src/lib/libc/dlfcn: Makefile.inc src/lib/libcrypto_idea: Makefile src/lib/libcrypto_mdc2: Makefile src/lib/libcrypto_rc5: Makefile src/lib/libroken: Makefile src/lib/libterminfo: Makefile src/libexec/ld.aout_so: Makefile src/libexec/ld.elf_so: Makefile src/regress/lib/csu/initfini: Makefile src/regress/sys/arch/arm: Makefile src/sbin/ldconfig: Makefile src/share/mk: bsd.lib.mk bsd.own.mk bsd.prog.mk src/sys/arch/amiga/stand/bootblock: Makefile Makefile.booters src/sys/arch/amiga/stand/bootblock/boot: bbstart.s src/sys/arch/atari/stand/bootxx: Makefile.bootxx src/sys/arch/atari/stand/bootxx/milan: Makefile src/sys/arch/atari/stand/bootxx/std: Makefile src/sys/arch/atari/stand/bootxxx: Makefile.bootxxx src/sys/arch/atari/stand/bootxxx/milan: Makefile src/sys/arch/atari/stand/bootxxx/std: Makefile src/sys/arch/cats/conf: Makefile.cats.inc src/sys/arch/dreamcast/conf: Makefile.dreamcast.inc src/sys/arch/i386/bioscall: Makefile src/sys/arch/i386/conf: Makefile.i386 src/sys/arch/i386/stand: Makefile.booters src/sys/arch/landisk/conf: Makefile.landisk.inc src/sys/arch/mmeye/conf: Makefile.mmeye.inc src/sys/arch/shark/conf: Makefile.shark.inc src/sys/arch/sparc/conf: Makefile.sparc src/sys/arch/x68k/stand/boot: Makefile src/sys/arch/x68k/stand/boot_ufs: Makefile src/sys/arch/x68k/stand/boot_ustar: Makefile src/sys/arch/xen/conf: Makefile.xen src/usr.bin/xlint/lint1: Makefile Added Files: src/sbin/ldconfig: shlib.c shlib.h Removed Files: src/lib/libc/compat/arch/vax/gen: Makefile.inc src/libexec/ld.aout_so: ld.h malloc.c md-prologue.c rtld.c shlib.c shlib.h src/libexec/ld.aout_so/arch/arm32: md-static-funcs.c md.c md.h mdprologue.S src/libexec/ld.aout_so/arch/i386: md-static-funcs.c md.c md.h mdprologue.S src/libexec/ld.aout_so/arch/m68k: md-static-funcs.c md.c md.h mdprologue.S src/libexec/ld.aout_so/arch/powerpc: md-static-funcs.c md.c md.h mdprologue.S src/libexec/ld.aout_so/arch/sparc: md-static-funcs.c md.c md.h mdprologue.S src/libexec/ld.aout_so/arch/vax: md-static-funcs.c md.c md.h mdprologue.S src/sys/arch/amiga/stand/bootblock/aout2bb: Makefile aout2bb.c aout2bb.h chksum.c chksum.h src/sys/arch/i386/bioscall: rmaouthdr src/tools/amiga-aout2bb: Makefile src/tools/amiga-aout2bb/machine: aout_machdep.h src/tools/amiga-aout2bb/sys: exec_aout.h Log Message: remove almost all the ability to build netbsd with an a.out target. 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 To generate a diff of this commit: cvs rdiff -u -r1.277 -r1.278 src/Makefile cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto/Makefile cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto_idea/Makefile cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto_mdc2/Makefile cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto_rc5/Makefile cvs rdiff -u -r1.1 -r1.2 src/crypto/external/bsd/openssl/lib/libssl/Makefile cvs rdiff -u -r1.4 -r1.5 src/gnu/lib/crtstuff4/Makefile cvs rdiff -u -r1.5 -r1.6 src/gnu/lib/libstdc++-v3_4/Makefile cvs rdiff -u -r1.3 -r1.4 src/gnu/lib/libsupc++4/Makefile cvs rdiff -u -r1.132 -r1.133 src/gnu/usr.bin/Makefile cvs rdiff -u -r1.8 -r1.9 src/lib/libc/arch/arm/Makefile.inc cvs rdiff -u -r1.8 -r1.9 src/lib/libc/arch/vax/Makefile.inc cvs rdiff -u -r1.16 -r1.17 src/lib/libc/arch/vax/gen/Makefile.inc cvs rdiff -u -r1.2 -r1.3 src/lib/libc/compat/arch/vax/Makefile.inc cvs rdiff -u -r1.1 -r0 src/lib/libc/compat/arch/vax/gen/Makefile.inc cvs rdiff -u -r1.2 -r1.3 src/lib/libc/dlfcn/Makefile.inc cvs rdiff -u -r1.6 -r1.7 src/lib/libcrypto_idea/Makefile cvs rdiff -u -r1.1 -r1.2 src/lib/libcrypto_mdc2/Makefile cvs rdiff -u -r1.6 -r1.7 src/lib/libcrypto_rc5/Makefile cvs rdiff -u -r1.18 -r1.19 src/lib/libroken/Makefile cvs rdiff -u -r1.11 -r1.12 src/lib/libterminfo/Makefile cvs rdiff -u -r1.46 -r1.47 src/libexec/ld.aout_so/Makefile cvs rdiff -u -r1.3 -r0 src/libexec/ld.aout_so/ld.h \ src/libexec/ld.aout_so/md-prologue.c src/libexec/ld.aout_so/shlib.h cvs rdiff -u -r1.8 -r0 src/libexec/ld.aout_so/malloc.c cvs rdiff -u -r1.88 -r0 src/libexec/ld.aout_so/rtld.c cvs rdiff -u -r1.23 -r0 src/libexec/ld.aout_so/shlib.c cvs rdiff -u -r1.1 -r0 src/libexec/ld.aout_so/arch/arm32/md-static-funcs.c \ src/libexec/ld.aout_so/arch/arm32/mdprologue.S cvs rdiff -u -r1.12 -r0 src/libexec/ld.aout_so/arch/arm32/md.c cvs rdiff -u -r1.5 -r0 src/libexec/ld.aout_so/arch/arm32/md.h cvs rdiff -u -r1.3 -r0 src/libexec/ld.aout_so/arch/i386/md-static-funcs.c cvs rdiff -u -r1.18 -r0 src/libexec/ld.aout_so/arch/i386/md.c cvs rdiff -u -r1.15 -r0 src/libexec/ld.aout_so/arch/i386/md.h cvs rdiff -u -r1.10 -r0 src/libexec/ld.aout_so/arch/i386/mdprologue.S cvs rdiff -u -r1.4 -r0 src/libexec/ld.aout_so/arch/m68k/md-static-funcs.c cvs rdiff -u -r1.17 -r0 src/libexec/ld.aout_so/arch/m68k/md.c cvs rdiff -u -r1.11 -r0 src/libexec/ld.aout_so/arch/m68k/md.h cvs rdiff -u -r1.8 -r0 src/libexec/ld.aout_so/arch/m68k/mdprologue.S cvs rdiff -u -r1.2 -r0 src/libexec/ld.aout_so/arch/powerpc/md-static-funcs.c \ src/libexec/ld.aout_so/arch/powerpc/mdprologue.S cvs rdiff -u -r1.6 -r0 src/libexec/ld.aout_so/arch/powerpc/md.c cvs rdiff -u -r1.4 -r0 src/libexec/ld.aout_so/arch/powerpc/md.h cvs rdiff -u -r1.4 -r0 src/libexec/ld.aout_so/arch/sparc/md-static-funcs.c cvs rdiff -u -r1.21 -r0 src/libexec/ld.aout_so/arch/sparc/md.c cvs rdiff -u -r1.19 -r0 src/libexec/ld.aout_so/arch/sparc/md.h cvs rdiff -u -r1.9 -r0 src/libexec/ld.aout_so/arch/sparc/mdprologue.S cvs rdiff -u -r1.3 -r0 src/libexec/ld.aout_so/arch/vax/md-static-funcs.c cvs rdiff -u -r1.16 -r0 src/libexec/ld.aout_so/arch/vax/md.c cvs rdiff -u -r1.13 -r0 src/libexec/ld.aout_so/arch/vax/md.h cvs rdiff -u -r1.11 -r0 src/libexec/ld.aout_so/arch/vax/mdprologue.S cvs rdiff -u -r1.96 -r1.97 src/libexec/ld.elf_so/Makefile cvs rdiff -u -r1.6 -r1.7 src/regress/lib/csu/initfini/Makefile cvs rdiff -u -r1.3 -r1.4 src/regress/sys/arch/arm/Makefile cvs rdiff -u -r1.22 -r1.23 src/sbin/ldconfig/Makefile cvs rdiff -u -r0 -r1.1 src/sbin/ldconfig/shlib.c src/sbin/ldconfig/shlib.h cvs rdiff -u -r1.307 -r1.308 src/share/mk/bsd.lib.mk cvs rdiff -u -r1.632 -r1.633 src/share/mk/bsd.own.mk cvs rdiff -u -r1.248 -r1.249 src/share/mk/bsd.prog.mk cvs rdiff -u -r1.3 -r1.4 src/sys/arch/amiga/stand/bootblock/Makefile cvs rdiff -u -r1.6 -r1.7 src/sys/arch/amiga/stand/bootblock/Makefile.booters cvs rdiff -u -r1.7 -r0 src/sys/arch/amiga/stand/bootblock/aout2bb/Makefile \ src/sys/arch/amiga/stand/bootblock/aout2bb/chksum.c cvs rdiff -u -r1.15 -r0 src/sys/arch/amiga/stand/bootblock/aout2bb/aout2bb.c cvs rdiff -u -r1.5 -r0 src/sys/arch/amiga/stand/bootblock/aout2bb/aout2bb.h \ src/sys/arch/amiga/stand/bootblock/aout2bb/chksum.h cvs rdiff -u -r1.12 -r1.13 src/sys/arch/amiga/stand/bootblock/boot/bbstart.s cvs rdiff -u -r1.9 -r1.10 src/sys/arch/atari/stand/bootxx/Makefile.bootxx cvs rdiff -u -r1.3 -r1.4 src/sys/arch/atari/stand/bootxx/milan/Makefile cvs rdiff -u -r1.3 -r1.4 src/sys/arch/atari/stand/bootxx/std/Makefile cvs rdiff -u -r1.6 -r1.7 src/sys/arch/atari/stand/bootxxx/Makefile.bootxxx cvs rdiff -u -r1.3 -r1.4 src/sys/arch/atari/stand/bootxxx/milan/Makefile cvs rdiff -u -r1.3 -r1.4 src/sys/arch/atari/stand/bootxxx/std/Makefile cvs rdiff -u -r1.22 -r1.23 src/sys/arch/cats/conf/Makefile.cats.inc cvs rdiff -u -r1.9 -r1.10 src/sys/arch/dreamcast/conf/Makefile.dreamcast.inc cvs rdiff -u -r1.18 -r1.19 src/sys/arch/i386/bioscall/Makefile cvs rdiff -u -r1.2 -r0 src/sys/arch/i386/bioscall/rmaouthdr cvs rdiff -u -r1.166 -r1.167 src/sys/arch/i386/conf/Makefile.i386 cvs rdiff -u -r1.79 -r1.80 src/sys/arch/i386/stand/Makefile.booters cvs rdiff -u -r1.4 -r1.5 src/sys/arch/landisk/conf/Makefile.landisk.inc cvs rdiff -u -r1.7 -r1.8 src/sys/arch/mmeye/conf/Makefile.mmeye.inc cvs rdiff -u -r1.12 -r1.13 src/sys/arch/shark/conf/Makefile.shark.inc cvs rdiff -u -r1.86 -r1.87 src/sys/arch/sparc/conf/Makefile.sparc cvs rdiff -u -r1.17 -r1.18 src/sys/arch/x68k/stand/boot/Makefile cvs rdiff -u -r1.23 -r1.24 src/sys/arch/x68k/stand/boot_ufs/Makefile cvs rdiff -u -r1.16 -r1.17 src/sys/arch/x68k/stand/boot_ustar/Makefile cvs rdiff -u -r1.29 -r1.30 src/sys/arch/xen/conf/Makefile.xen cvs rdiff -u -r1.1 -r0 src/tools/amiga-aout2bb/Makefile cvs rdiff -u -r1.1 -r0 src/tools/amiga-aout2bb/machine/aout_machdep.h cvs rdiff -u -r1.1 -r0 src/tools/amiga-aout2bb/sys/exec_aout.h cvs rdiff -u -r1.43 -r1.44 src/usr.bin/xlint/lint1/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.