Skip to content

Commit

Permalink
[MIPS] Enable -ffunction-sections sections.
Browse files Browse the repository at this point in the history
-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>
  • Loading branch information
Ralf Baechle committed Jul 15, 2008
1 parent 74c8494 commit 372a775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 372a775

Please sign in to comment.