PATCH powerpc: Merge asm-ppc*/sections.h
jdl at freescale.com
Sat Sep 17 00:46:18 EST 2005
On Thu, 2005-09-15 at 17:37, Gabriel Paubert wrote:
> > I assume you compile custom kernels for these machines, so you're
> > happy with using config options to remove the code you don't want?
> Yes, and I have no problems with it.
> > Having the .pmac.text, .prep.text etc. sections lets us remove
> > unneeded code at runtime, but it sounds like that isn't actually the
> > issue for you (i.e. you don't have a need to run the same kernel on
> > both a pmac and a prep).
> Not at all. For example my pmac kernels need usb to boot
> (literally), the MVME machines have CONFIG_USB off (this
> saves a lot).
> Now there are other architectures that could be merged,
> an example is PreP/PowerPlus/MVME5100.
I am reading this to mean that you then have no issue with
my proposed changes of removing the special handling of
the .pmac, .prep, .chrp, and .openfirmware sections that
really only apply to MULTIPLATFORM built images.
Again, for embedded boards and for custom-built configurations,
this change really should have no impact on your image size.
So, were there other objects I missed? If not, I will
proceed with a patch to remove these special sections
so that we may merge the sections.h header file better!
More information about the Linuxppc64-dev