From: Ralf Baechle Date: Tue, 15 Jul 2008 17:44:33 +0000 (+0100) Subject: [MIPS] Enable -ffunction-sections sections. X-Git-Tag: v2.6.27-rc1~1063^2~28 X-Git-Url: http://ftp.safe.ca/?p=safe%2Fjmp%2Flinux-2.6;a=commitdiff_plain;h=372a775f50347f5c1dd87752b16e5c05ea965790 [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 --- 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.