On Sun, May 18, 2008 at 06:19:52PM +0200, Helge Deller wrote: ... >> using ".text.head" (not .head.text) which has corresponding "code" in >> their vmlinux.lds. Could someone kindly point out how .head.text works >> for parisc? > > Yeah, my fault (no idea why it worked for me???). Kyle's explanation sounds right or I expect the sections wouldn't have been included at all (or something like that) - and maybe it really only matters for SMP - ie getting secondary CPUs running. > I see two options: > 1) revert my patch (gets to linker warnings and have to build up a new > patch, ideally adding a section for .text.head to vmlinux.lds.S), > 2) apply the attached patch. > > Opinions? (2) works for me. I'm booting with 64-bit on a500...at least it's now finding all the disks and attempting to mount NFS root. > > Helge > diff --git a/arch/parisc/kernel/vmlinux.lds.S b/arch/parisc/kernel/vmlinux.lds.S > index 50b4a3a..2e516b8 100644 > --- a/arch/parisc/kernel/vmlinux.lds.S > +++ b/arch/parisc/kernel/vmlinux.lds.S > @@ -50,6 +50,7 @@ SECTIONS > > _text = .; /* Text and read-only data */ > .text ALIGN(16) : { > + HEAD_TEXT grundler <537>fgrep HEAD_TEXT include/*/*.h include/asm-generic/vmlinux.lds.h:#define HEAD_TEXT *(.head.text) Yeah, I like that better than depending on *(.text) to include it. thanks, grant > TEXT_TEXT > SCHED_TEXT > LOCK_TEXT -- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html