aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
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 /arch/mips
parent74c8494eeb7b321e5922ee43120f91c7c9b7317f (diff)
downloadkernel_samsung_espresso10-372a775f50347f5c1dd87752b16e5c05ea965790.zip
kernel_samsung_espresso10-372a775f50347f5c1dd87752b16e5c05ea965790.tar.gz
kernel_samsung_espresso10-372a775f50347f5c1dd87752b16e5c05ea965790.tar.bz2
[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/mips')
-rw-r--r--arch/mips/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index ad36c94..0b8d82d 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.