Subject: Re: cross-elf2ecoff
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Jason R Thorpe <>
List: tech-toolchain
Date: 03/21/2002 21:24:20
On Thu, Mar 21, 2002 at 09:09:01PM -0800, Jonathan Stone wrote:

 > For some DEC proms, a further issue is that the PROM cares about the
 > order, not in which segments appear in the headers, but about the
 > order they appear in the file -- Even if the header lists the sections
 > in the "right" order.  There are also some nasty issues about
 > expecting additional alignment and padding for the sections as they
 > appear in the load-file.

Yah, and this is really easy to fix with a linker script.  And objcopy
will copy them out in the same order they appear in the original file.

 > If all this is expressible with linker scripts, and it works on the
 > matrix of different PROM versions which Simon keeps, and it works on
 > ARC boxes, and it works for any ancient TC Alphas that need ECOFF,

(Actually, we use a raw binary image for Alpha systems .. and it works
on all supported Alpha models.)

 > I'll be very happy to buy Jason a beero for letting elf2ecoff die.

Hey, cool!  mmm, Duvel...


        -- Jason R. Thorpe <>