commit | c55ff070e63ec8fbe98a70ea3ab87f8ebcad1c10 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@gmail.com> | Sun May 03 17:22:43 2020 +0200 |
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | Wed May 20 13:20:25 2020 +0200 |
tree | c6c27f3fcadcf35107f2577505b282437f4b39b9 | |
parent | a6c719fb7582c0b16495dc80df7da4a87e3772cc [diff] |
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>