PATCH powerpc: 00/04 Remove __pmac, etc, sections, merge sections.h

Kumar Gala kumar.gala at
Mon Sep 19 03:50:30 EST 2005

On Sep 17, 2005, at 8:25 PM, Benjamin Herrenschmidt wrote:

> On Sat, 2005-09-17 at 10:31 -0500, Jon Loeliger wrote:
>> Here is a new patch that removes all notion of the pmac, prep,
>> chrp and openfirmware initialization sections, and then unifies
>> the sections.h files without those __pmac, etc, sections identifiers
>> cluttering things up.
> When did we decide to do that ? Some people are still using ppc  
> machines
> with rather small memory footprint (old ones), it's handy to get  
> rid of
> the code you don't need... It would make sense if we could compile
> CHRP/PMAC/PREP in/out (like we can do with platforms on ppc64) so that
> people who have tight memory requirements can build a PReP or CHRP
> kernel without all of the pmac code.

I think the discussion earlier in this week lead us to believe this  
was the way to go.  We can provide a simple patch to allow selecting  
CHRP/PMAC/PREP specifically in addition to MUTLIPLATFORM.

- kumar

More information about the Linuxppc-dev mailing list