summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-05-22 06:33:05 +0200
committerPaul Mackerras <paulus@samba.org>2007-05-22 12:20:56 +0200
commit832a791c580a86cbeea5bb12a984d95b1f458539 (patch)
treece822a9befbcb516eb8dd33011c437cc4d613ac8 /arch/powerpc/kernel/vmlinux.lds.S
parent[POWERPC] Fix typo: MMCR0_PMA0 != MMCR0_PMAO (diff)
downloadlinux-832a791c580a86cbeea5bb12a984d95b1f458539.tar.xz
linux-832a791c580a86cbeea5bb12a984d95b1f458539.zip
[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 <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/vmlinux.lds.S')
-rw-r--r--arch/powerpc/kernel/vmlinux.lds.S1
1 files changed, 0 insertions, 1 deletions
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