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

Kumar Gala galak at kernel.crashing.org
Wed Oct 20 08:36:40 CEST 2010


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 at xes-inc.com>
> CC: Kumar Gala <galak at 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


More information about the U-Boot mailing list