Subject: Re: Machines I have to port on
To: Andrew Brown <atatat@atatdot.net>
From: Simon Burge <simonb@wasabisystems.com>
List: port-sgimips
Date: 03/19/2002 11:57:02
Andrew Brown wrote:

> >apply the patch I posted yesterday to src/usr.bin/elf2ecoff
> >compile elf2ecoff using /home/tmp/tools-sgimips/nbmake-sgimips (it's not
> >a cross-tool yet).
> >netboot using kernels from ftp://ftp.netbsd.org/pub/NetBSD/arch/sgimips
> >use the new elf2ecoff to convert your new elf kernel to ecoff:
> >elf2ecoff netbsd.new netbsd.ecoff
> >netboot again using new ecoff kernel.
> 
> i'm just curious...why do you need a "elf2ecoff" tool?  is it not
> possible to use "objcopy" as the arc port does?

At least for the pmax, the output from objcopy isn't liked by the
PROM.  From memory, it's as if some fields are byte-swapped in the
ecoff header...

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD CDs, Support and Service:    http://www.wasabisystems.com/