u-boot-brain/arch/microblaze
Michal Simek 9c2aa7e707 microblaze: Enable GCC garbage collector for full U-Boot
GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
   text	   data	    bss	    dec	    hex	filename
 588760	  33592	  39192	 661544	  a1828	u-boot

After:
   text	   data	    bss	    dec	    hex	filename
 504504	  32164	  38608	 575276	  8c72c	u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2020-11-20 10:42:53 +01:00
..
cpu microblaze: Enable GCC garbage collector for full U-Boot 2020-11-20 10:42:53 +01:00
dts .gitignore: move *.dtb and *.dtb.S patterns to the top-level .gitignore 2018-06-18 14:43:12 -04:00
include/asm arch: Move NEEDS_MANUAL_RELOC symbol to Kconfig 2020-11-04 10:13:44 -05:00
lib common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Kconfig xilinx: Merge together BOOT_SCRIPT_OFFSET between MB and ARM 2020-10-27 08:13:33 +01:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
config.mk microblaze: Enable GCC garbage collector for full U-Boot 2020-11-20 10:42:53 +01:00