On Wed, Mar 03, 1999 at 11:39:44PM -0700, Warner Losh wrote:
> elf2ecoff is short, and I've included it below. As you can see, it is
> written for NetBSD, but shouldn't be too hard to port to Linux. I use
> the following program all the time to boot OpenBSD kernels (which
> don't have a bootstrap loader, so need to be ecoff) all the time. It
> does assume that the Elf headers are on your system, which may or may
> not be the case for Linux. If it isn't the case, you can grab include
> files from ftp.netbsd.org or ftp.openbsd.org.
> Ralf likely has either objcopy working, or a working one of these...
I've got elf2ecoff working and independant of me Thomas commited his
elf2ecoff variant into the CVS. It is really the only sane way to produce
ECOFF from ELF objects since libbfd is way too buggy and incomplete to
link ELF into ECOFF under certain circumstances.