[U-Boot] [PATCH] powerpc/8xxx: Reduce NAND-SPL build size

Wolfgang Denk wd at denx.de
Mon Mar 14 07:27:53 CET 2011


Dear Kumar Gala,

In message <BCF2A946-E0CC-43F6-A875-A0E5A0DE7A6D at kernel.crashing.org> you wrote:
> 
> >> We don't use disable_law in the SPL code so only build it if
> >> !CONFIG_NAND_SPL.
> > 
> > Does -ffunction-sections / --gc-sections not catch this automatically?
>
> Doesn't appear to, but not sure if the NAND makefiles are utilizing those options.

Can you please verify this first?

At first glace it looks as if the compilation was done with
-ffunction-sections and -fdata-sections, but I don't see --gc-sections
on the linker command line

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
Quantum particles: The dreams that stuff is made of.


More information about the U-Boot mailing list