Procházet zdrojové kódy

[ARM] Allow decompressor to be built with -ffunction-sections

Arrange for all the text ends up in the right place when
-ffunction-sections is used.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Russell King před 19 roky
rodič
revize
c5b8ef62b5
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      arch/arm/boot/compressed/vmlinux.lds.in

+ 1 - 0
arch/arm/boot/compressed/vmlinux.lds.in

@@ -18,6 +18,7 @@ SECTIONS
     _start = .;
     *(.start)
     *(.text)
+    *(.text.*)
     *(.fixup)
     *(.gnu.warning)
     *(.rodata)