]> git.baikalelectronics.ru Git - uboot.git/commit
arc: Eliminate unused code and data with GCC's garbage collector
authorAlexey Brodkin <abrodkin@synopsys.com>
Wed, 24 Jan 2018 21:25:12 +0000 (00:25 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Wed, 21 Mar 2018 13:21:34 +0000 (16:21 +0300)
commita1d798506929f0d7c60cc7e665b4e6ea72dfa5c9
tree9f1705cf5371ee9bb240f5352c63337fb3ae734f
parenta1c228a0d311a794e34769758e708af731a9f2c2
arc: Eliminate unused code and data with GCC's garbage collector

Finally GCC's garbage collector works on ARC so let's use it.
That's what I may see for HSDK:

Before:
   text    data     bss     dec     hex filename
 290153   10068  222616  522837   7fa55 u-boot

After:
   text    data     bss     dec     hex filename
 261999    9460  222360  493819   788fb u-boot

Overall ~5% of memory footprint saved.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
arch/arc/config.mk