[PATCH 8/15] zImage: Cleanup and improve zImage entry point

Milton Miller miltonm at bga.com
Tue Mar 20 08:16:16 EST 2007


On Tue Mar 20 02:06:01 EST 2007, Scott Wood wrote:
> On Sat, Mar 17, 2007 at 12:38:59PM +1100, David Gibson wrote:
> > On Fri, Mar 16, 2007 at 11:21:35AM -0500, Scott Wood wrote:
> > > One problem with that is that the wrapper currently only accepts one
> > > platform .o file -- and presumably one isn't going to want to do all of
> > > the platform code in assembly.
> > 
> > Um.. nobody does it yet, but I don't think there's actually any reason
> > that $platformo can't be set to a list of multiple .o files.
> 
> Sorry, I was thinking about the default generation of a .o file from the
> platform name.  Obviously, the wrapper script can add to platformo.
> 
> Still, I think it'd be better to only stick something other than crt0 at
> the beginning if the platform explicitly asks for it.

I tested setting platform.o to multiple files.   Another option
is to link multiple platform files together into one .o file, but
if there are potentially shared this becomes letss apealing from
a space perspective.

milton



More information about the Linuxppc-dev mailing list