diff options
author | Marek Vasut <marek.vasut+renesas@gmail.com> | 2020-05-03 17:22:43 +0200 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | 2020-05-20 13:20:25 +0200 |
commit | 56f01746ab5c6950bd0f76d02252ee4450f86659 (patch) | |
tree | c6c27f3fcadcf35107f2577505b282437f4b39b9 /board/somlabs | |
parent | 03578d940dd3c19893c66e08be72f9ff1aa3d5c9 (diff) | |
download | u-boot-56f01746ab5c6950bd0f76d02252ee4450f86659.zip u-boot-56f01746ab5c6950bd0f76d02252ee4450f86659.tar.gz u-boot-56f01746ab5c6950bd0f76d02252ee4450f86659.tar.bz2 |
sh: Enable ffunction-sections and fdata-sections
Enable these two options to let compiler eliminate unused code.
On R2Dplus, this results in considerable amount of saved space:
text data bss dec hex filename
- 266580 13196 39076 318852 4dd84 u-boot
+ 220214 12797 38745 271756 4258c u-boot
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/somlabs')
0 files changed, 0 insertions, 0 deletions