[U-Boot] [PATCH 16/17] 86xx: Use gc-sections to reduce image size

Kumar Gala
2010-10-20T06:36:40Z

On Sep 29, 2010, at 2:05 PM, Peter Tyser wrote:

> On an XPedite5170 over 11KBytes were saved:
> Before:
> text data bss dec hex filename
> 319488 28700 33204 381392 5d1d0 ./u-boot
>
> After:
> text data bss dec hex filename
> 307663 29144 33204 370011 5a55b ./u-boot
>
> Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
> CC: Kumar Gala <galak@kernel.crashing.org>
> ---
> arch/powerpc/cpu/mpc86xx/config.mk | 4 ++++
> arch/powerpc/cpu/mpc86xx/u-boot.lds | 26 ++++++++------------------
> 2 files changed, 12 insertions(+), 18 deletions(-)

cleaned up and applied to 85xx.

- k