Subject: Re: ELF progress
To: None <port-mac68k@netbsd.org>
From: David Rogers <drogers@halo7.net>
List: port-mac68k
Date: 01/07/2001 21:50:30
I'm not that familiar with which files do what.  What files need to be
modified, at least for the register names?  Should files be modified from
the mac68k or mvme68k port.  I'm willing to do some grunt work if it will
help better the port.

Dave

> On Sun, Jan 07, 2001 at 10:47:35AM -0600, David Rogers wrote:
> 
>> Would it be possible to borrow some code from the mvme68k port since they
>> recently moved to ELF?
> 
> Well, for the assembly code thing, you're going to be doing just manual
> substitution ... register names go from e.g. "a0" to "%a0".  There is a
> warning flag for the assembler which will cause it to warn about missing
> register prefixes.
> 
> ...structure packing -- all the port-dependent ones are the ones left
> to check.  You'll have to add __attribute__((__packed__)) to structures
> that describe e.g. on-wire or on-disk data formats.
> 
> ...the booter -- that's all port-dependent :-)