.text.head is not type AX so it will be left out from the linked output.
No, it does get added, but the section is not added to any segment, so a) it ends up near the end of the address map instead of being first thing, and b) it won't be loaded at run time.
This reminds me that I have put another patch in kernel/head.S creating a new section .text.head. I think I shall have to put a patch there too to make it work with older binutils.
Yeah. Current stuff works with 2.15, which is three years old, but it doesn't hurt supporting older toolchains where possible. 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/
- 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
- From: Segher Boessenkool <[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: Feature request: exec self for NOMMU.
- Next by Date: Re: BUG: scheduling while atomic, new libata code
- 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):