Query: elf2aout
OS: netbsd
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ELF2AOUT(1) BSD General Commands Manual ELF2AOUT(1)NAMEelf2aout -- convert a NetBSD ELF-format executable to NetBSD a.out formatSYNOPSISelf2aout elf-file aout-fileDESCRIPTIONReads a fully-linked ELF executable (such as a linked kernel) and produces an equivalent a.out format executable file. The elf2aout utility is used to convert native NetBSD ELF binaries to a.out format, for compatibility with bootblocks and kernel-reading utilities like kvm(3) and kvm_mkdb(8), which currently expect an a.out format kernel.SEE ALSOelf2ecoff(1), ld(1), kvm(3), a.out(5), elf(5), kvm_mkdb(8)HISTORYelf2aout was originally developed for NetBSD/pmax by Ted Lemon and was first distributed with the pmax port of NetBSD 1.1.BUGSelf2aout assumes there are no multiply-referenced symbols in the input ELF symbol section. It may be necessary to link with -x to avoid such duplicate symbols. In some environments, the GNU binutils objcopy(1) utility may be a better solution than elf2aout.BSDSeptember 30, 1996 BSD