]> err.no Git - linux-2.6/commitdiff
[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 eed616113e473f76dbf99deb3a6ebd7cdab123b8..153a07e7222bd4a4d8ede7d5b9bc7b0a9f31566d 100644 (file)
@@ -18,6 +18,7 @@ SECTIONS
     _start = .;
     *(.start)
     *(.text)
+    *(.text.*)
     *(.fixup)
     *(.gnu.warning)
     *(.rodata)