Re: Patch "i386: Relocatable kernel support" causes instant reboot
From: Segher Boessenkool
Date: Tue Dec 26 2006 - 23:31:39 EST
.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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/