summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2008-07-15 18:44:33 +0100
committerRalf Baechle <ralf@linux-mips.org>2008-07-15 18:44:33 +0100
commit372a775f50347f5c1dd87752b16e5c05ea965790 (patch)
tree4925187d65557eb8f879af43f5572ae0499ae31e
parent74c8494eeb7b321e5922ee43120f91c7c9b7317f (diff)
[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: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index ad36c946ff96..0b8d82d55c66 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -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.