]> Git Repo - u-boot.git/commit
riscv: Enable function sections
authorAlexander Graf <[email protected]>
Mon, 23 Apr 2018 05:59:44 +0000 (07:59 +0200)
committerAndes <[email protected]>
Tue, 29 May 2018 06:43:12 +0000 (14:43 +0800)
commit6cc1a2af46c448e7d822fa4976a8d6e10fc5273b
tree25e3a65ca495f35dbb550a13eab4c98b0b7590bc
parenta7f99e5dd7dfa1853dee25e0fcb761eee0fb3ad3
riscv: Enable function sections

The linker can remove sections that are never addressed, so it makes a lot
of sense to declare every function as an individual section.

This reduces the output U-Boot code size by ~30kb for me.

Signed-off-by: Alexander Graf <[email protected]>
arch/riscv/config.mk
This page took 0.031251 seconds and 4 git commands to generate.