ELF2ECOFF(1)            NetBSD General Commands Manual            ELF2ECOFF(1)

NAME
     elf2ecoff -- convert a NetBSD ELF-format executable to NetBSD ECOFF for-
     mat

SYNOPSIS
     elf2ecoff elf-file ecoff-file

DESCRIPTION
     Reads a fully-linked ELF executable (such as a  linked kernel) and pro-
     duces an equivalent ECOFF format executable file.

     The elf2ecoff utility is used to convert native NetBSD ELF binaries to
     ECOFF format, for compatibility with DECstation diskless-boot PROM code
     and diskless-boot servers that require ECOFF format binaries.

SEE ALSO
     elf2aout(1), ld(1), kvm(3), a.out(5), elf(5)

HISTORY
     elf2ecoff was originally developed for NetBSD/pmax by Ted Lemon and was
     first distributed with the pmax port of NetBSD 1.1.

BUGS
     elf2ecoff assumes there are no multiply-referenced symbols in the input
     ELF symbol section.  It may be necessary to link with -x to avoid dupli-
     cate symbols.

     In some environments, the GNU binutils objcopy(1) utility may be a better
     solution than elf2ecoff.

NetBSD 5.0                    September 30, 1996                    NetBSD 5.0