diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2008-07-15 13:44:33 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-15 13:44:33 -0400 |
commit | 372a775f50347f5c1dd87752b16e5c05ea965790 (patch) | |
tree | 4925187d65557eb8f879af43f5572ae0499ae31e /arch/mips | |
parent | 74c8494eeb7b321e5922ee43120f91c7c9b7317f (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/mips')
-rw-r--r-- | arch/mips/Makefile | 2 |
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 | ||
15 | KBUILD_DEFCONFIG := ip22_defconfig | 15 | KBUILD_DEFCONFIG := ip22_defconfig |
16 | 16 | ||
17 | cflags-y := | 17 | cflags-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. |