Aaron Durbin (adurbin@chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10258
-gerrit
commit ff696ee4926dbc0285ac312098e90c061811407e Author: Aaron Durbin adurbin@chromium.org Date: Tue May 19 15:51:47 2015 -0500
riscv: enable function and data sections
Every other arch we support has these options enabled. Enable it to make everything a lot easier in compiling common code.
Change-Id: I86205468bbd793fbd377e471a1d32be617af5302 Signed-off-by: Aaron Durbin adurbin@chromium.org --- toolchain.inc | 1 + 1 file changed, 1 insertion(+)
diff --git a/toolchain.inc b/toolchain.inc index 36402fe..e7edf71 100644 --- a/toolchain.inc +++ b/toolchain.inc @@ -69,6 +69,7 @@ CFLAGS_mips := -mips32r2 -G 0 -ffunction-sections -fdata-sections CFLAGS_mips += -mno-abicalls -fno-pic
CFLAGS_x86_32 += -ffunction-sections -fdata-sections +CFLAGS_riscv := -ffunction-sections -fdata-sections
toolchain_to_dir = \ $(foreach arch,$(ARCH_SUPPORTED),\