powerpc: Fix powerpc vmlinux.lds.S
PATCH 1/1 powerpc: Fix powerpc vmlinux.lds.S
Sam's recent changes broke things for us, some stuff sneaked in before the 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 !
---
arch/powerpc/kernel/vmlinux.lds.S +0 -1
@@ -34,7 +34,6 @@ SECTIONS /* Text and gots */ .text : { _text = .; - *(.text.*) TEXT_TEXT SCHED_TEXT LOCK_TEXT
Quoted 4 lines · Benjamin Herrenschmidt
Sam's recent changes broke things for us, some stuff sneaked in before the 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 !
.. Which manifests itself on some systems as a hang after "returning from prom_init".
Quoted 1 line
Signed-off-by Benjamin Herrenschmidt <[email protected]>
Applying this makes my systems happy again... :-)
Quoted 21 lines
---
Index:
linux-work/arch/powerpc/kernel/vmlinux.lds.S
===================================================================arch/powerpc/kernel/vmlinux.lds.S +0
-1@@ -34,7 +34,6 @@ SECTIONS /* Text and gots */ .text : { _text = .; - *(.text.*) TEXT_TEXT SCHED_TEXT LOCK_TEXT_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev
Kim Phillips
Acked-byQuoted 6 lines · On Tue, 22 May 2007 10:01:44 -0500 Will Schmidt <[email protected]>…
Quoted 4 lines · Benjamin Herrenschmidt
Sam's recent changes broke things for us, some stuff sneaked in before the 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 !
Quoted 8 lines
.. Which manifests itself on some systems as a hang after "returning from
prom_init".Quoted 1 line
Signed-off-by Benjamin Herrenschmidt <[email protected]>Applying this makes my systems happy again... :-)
same here.
Quoted 2 lines
Acked-by Will Schmidt <[email protected]>
Kim