Commit 372a775f authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] Enable -ffunction-sections sections.



-ffunction-sections serves as a workaround for the problems caused by the
limited branch range in some inline assembler fragments for very large
compilation units.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 74c8494e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@

KBUILD_DEFCONFIG := ip22_defconfig

cflags-y :=
cflags-y := -ffunction-sections

#
# Select the object file format to substitute into the linker script.