riscv: enable -fdata-sections
authorLukas Auer <lukas.auer@aisec.fraunhofer.de>
Thu, 22 Nov 2018 10:26:16 +0000 (11:26 +0100)
committerAndes <uboot@andestech.com>
Mon, 26 Nov 2018 05:57:29 +0000 (13:57 +0800)
commit776e6335bf425f6b3cad01a25935dd2b7d4f40b7
tree044062bff4c1aef73e78861156024afd272a5e49
parent0c074845e57e581dab9b024f4a517d4df8d73e9f
riscv: enable -fdata-sections

Enable the -fdata-sections compiler option for RISC-V. Buildman reports
the binary size decrease from this as 8365.3 bytes.

Signed-off-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Rick Chen <rick@andestech.com>
arch/riscv/config.mk