Przeglądaj źródła

[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>
Ralf Baechle 17 lat temu
rodzic
commit
372a775f50
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      arch/mips/Makefile

+ 1 - 1
arch/mips/Makefile

@@ -14,7 +14,7 @@
 
 
 KBUILD_DEFCONFIG := ip22_defconfig
 KBUILD_DEFCONFIG := ip22_defconfig
 
 
-cflags-y :=
+cflags-y := -ffunction-sections
 
 
 #
 #
 # Select the object file format to substitute into the linker script.
 # Select the object file format to substitute into the linker script.