From: Benjamin Herrenschmidt Date: Tue, 22 May 2007 04:33:05 +0000 (+1000) Subject: [POWERPC] Fix powerpc vmlinux.lds.S X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=832a791c580a86cbeea5bb12a984d95b1f458539;p=openwrt%2Fstaging%2Fblogic.git [POWERPC] Fix powerpc vmlinux.lds.S Sam's recent change in 7664709b44a13e2e0b545e2dd8e7b8797a1748dc broke things for us because we ended up with *(.text.*) before *(.text), whereas previously *(.text) was first. This was important because the start of the text section contains the kernel entry point. In fact, we don't need that *(.text.*) thing anymore and it incorrectly matched .text.init.refok, thus putting it before .text. .. ouch ! Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S index f7d7bf19e4fb..21c39ff2dc39 100644 --- a/arch/powerpc/kernel/vmlinux.lds.S +++ b/arch/powerpc/kernel/vmlinux.lds.S @@ -34,7 +34,6 @@ SECTIONS /* Text and gots */ .text : { _text = .; - *(.text.*) TEXT_TEXT SCHED_TEXT LOCK_TEXT