[PATCH] Set cpu explicitly in kernel compiles

Olaf Hering olh at suse.de
Wed Jul 6 06:27:17 EST 2005


 On Tue, Jul 05, Tom Rini wrote:

> On Tue, Jul 05, 2005 at 09:54:41PM +0200, Olaf Hering wrote:
> >  On Tue, Jul 05, Tom Rini wrote:
> > 
> > > gcc info page says that -mcpu=powerpc won't work for 601.
> > 
> > -mcpu=common may work for everyone, after a quick grep in
> > gcc/config/rs6000
> 
> It does, and that's the code bloat you're trying to get rid of :)

3397494  579544  519704 4496742  449d66 ../O-ppc-cpucommon/vmlinux
3469857  579544  519704 4569105  45b811 ../O-ppc-default/vmlinux

-mcpu=powerpc reduces text size still more than -mcpu=750



More information about the Linuxppc-dev mailing list