Browse Source

[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>
Benjamin Herrenschmidt 18 years ago
parent
commit
832a791c58
1 changed files with 0 additions and 1 deletions
  1. 0 1
      arch/powerpc/kernel/vmlinux.lds.S

+ 0 - 1
arch/powerpc/kernel/vmlinux.lds.S

@@ -34,7 +34,6 @@ SECTIONS
 	/* Text and gots */
 	/* Text and gots */
 	.text : {
 	.text : {
 		_text = .;
 		_text = .;
-		*(.text.*)
 		TEXT_TEXT
 		TEXT_TEXT
 		SCHED_TEXT
 		SCHED_TEXT
 		LOCK_TEXT
 		LOCK_TEXT