Эх сурвалжийг харах

[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 19 жил өмнө
parent
commit
c5b8ef62b5

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

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