[Top] [All Lists]

Re: spoofing the kenel header...

To: Warner Losh <>,
Subject: Re: spoofing the kenel header...
Date: Fri, 5 Mar 1999 21:54:38 +0100
In-reply-to: <>; from Warner Losh on Wed, Mar 03, 1999 at 11:39:44PM -0700
References: <> <>
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 or
> 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.


<Prev in Thread] Current Thread [Next in Thread>