Thanks Jean. Your compressed/head.o looks fine.
No it doesn't -- the .text.head section doesn't have the ALLOC attribute set. The section then ends up not being assigned to an output segment (during the linking of vmlinux) and all hell breaks loose. The linker gives you a warning about this btw. Jean, how old is your binutils? Since 2.15 at least this should be set automatically on sections named .text.<whatever> . It wouldn't hurt to specify it by hand in the source code of course -- change .section ".text.head" to .section ".text.head","ax",@progbits in compressed/head.S . Segher - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: Patch "i386: Relocatable kernel support" causes instant reboot
- From: Vivek Goyal <[email protected]>
- Re: Patch "i386: Relocatable kernel support" causes instant reboot
- From: Jean Delvare <[email protected]>
- Re: Patch "i386: Relocatable kernel support" causes instant reboot
- References:
- Re: Patch "i386: Relocatable kernel support" causes instant reboot
- From: [email protected] (Eric W. Biederman)
- Re: Patch "i386: Relocatable kernel support" causes instant reboot
- From: [email protected] (Eric W. Biederman)
- Re: Patch "i386: Relocatable kernel support" causes instant reboot
- From: Jean Delvare <[email protected]>
- Re: Patch "i386: Relocatable kernel support" causes instant reboot
- From: "Alexander van Heukelum" <[email protected]>
- Re: Patch "i386: Relocatable kernel support" causes instant reboot
- From: Vivek Goyal <[email protected]>
- Re: Patch "i386: Relocatable kernel support" causes instant reboot
- From: Jean Delvare <[email protected]>
- Re: Patch "i386: Relocatable kernel support" causes instant reboot
- From: Vivek Goyal <[email protected]>
- Re: Patch "i386: Relocatable kernel support" causes instant reboot
- Prev by Date: Re: Kernel 2.6.17.13: eth2: TX underrun, threshold adjusted.
- Next by Date: [patch] sched: remove __resched_legal() and fix cond_resched_softirq()
- Previous by thread: Re: Patch "i386: Relocatable kernel support" causes instant reboot
- Next by thread: Re: Patch "i386: Relocatable kernel support" causes instant reboot
- Index(es):