[ARM] Allow decompressor to be built with -ffunction-sections
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 9 Apr 2006 18:08:42 +0000 (19:08 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 9 Apr 2006 18:08:42 +0000 (19:08 +0100)
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>
arch/arm/boot/compressed/vmlinux.lds.in

index eed6161..153a07e 100644 (file)
@@ -18,6 +18,7 @@ SECTIONS
     _start = .;
     *(.start)
     *(.text)
+    *(.text.*)
     *(.fixup)
     *(.gnu.warning)
     *(.rodata)