[U-Boot] [PATCH 6/7] POWERPC: enable --gc-sections and -ffunction-sections -fdata-sections

Wolfgang Denk wd at denx.de
Mon Nov 22 08:11:01 CET 2010


Dear Peter Tyser,

In message <1290378684.20072.125.camel at petert> you wrote:
> 
> > The best (but unfortunately not easiest) approach to address this
> > problem is to enable -ffunction-sections (and -ffunction-sections) so
> 
> 's/function-sections/data-sections/' in the 2nd location above.

Oops. Copy & paste ;-)

> The above changes already exist in arch/powerpc/cpu/mpc85xx/config.mk
> and arch/powerpc/cpu/mpc86xx/config.mk.  It'd be nice to remove those
> references in this patch so they aren't duplicated.

Right.  Thanks for pointing out.  v2 on the way.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Syntactic sugar causes cancer of the semicolon.
                - Epigrams in Programming, ACM SIGPLAN Sept. 1982


More information about the U-Boot mailing list