summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2008-07-15 19:44:33 +0200
committerRalf Baechle <ralf@linux-mips.org>2008-07-15 19:44:33 +0200
commit372a775f50347f5c1dd87752b16e5c05ea965790 (patch)
tree4925187d65557eb8f879af43f5572ae0499ae31e /arch
parent[MIPS] Bigsur: Make defconfig a bit more useful. (diff)
downloadlinux-372a775f50347f5c1dd87752b16e5c05ea965790.tar.xz
linux-372a775f50347f5c1dd87752b16e5c05ea965790.zip
[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 @@
KBUILD_DEFCONFIG := ip22_defconfig
-cflags-y :=
+cflags-y := -ffunction-sections
#
# Select the object file format to substitute into the linker script.