86xx: Use gc-sections to reduce image size
authorPeter Tyser <ptyser@xes-inc.com>
Wed, 29 Sep 2010 19:05:55 +0000 (14:05 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 20 Oct 2010 07:38:41 +0000 (02:38 -0500)
commit68337fb5f6f811cd4485ec14c469551f874d535b
tree936192bd13c7d19c2c914045a935f966815c22ec
parentbd9715e3dbf422bf0404e8b2a262620dbfac2e7f
86xx: Use gc-sections to reduce image size

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>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc86xx/config.mk
arch/powerpc/cpu/mpc86xx/u-boot.lds