aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2008-07-15 13:44:33 -0400
committerRalf Baechle <ralf@linux-mips.org>2008-07-15 13:44:33 -0400
commit372a775f50347f5c1dd87752b16e5c05ea965790 (patch)
tree4925187d65557eb8f879af43f5572ae0499ae31e /arch
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>
Diffstat (limited to 'arch')
-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 @@
14 14
15KBUILD_DEFCONFIG := ip22_defconfig 15KBUILD_DEFCONFIG := ip22_defconfig
16 16
17cflags-y := 17cflags-y := -ffunction-sections
18 18
19# 19#
20# Select the object file format to substitute into the linker script. 20# Select the object file format to substitute into the linker script.