Messages in this thread | | | Date | Sun, 26 Apr 2009 09:40:57 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: [PATCH 14/15] x86: convert to use __HEAD and HEAD_TEXT macros. |
| |
On Sat, 25 Apr 2009, Tim Abbott wrote: > > This has the consequence of changing the section name use for head > code from ".text.head" to ".head.text". Since this commit changes all > users in the architecture, this change should be harmless.
Btw, this one really needs to unify the two lds files first. Look at
diff -u arch/x86/boot/compressed/vmlinux_*.lds
output and realize that they're basially exctly the same except for trivial naming differences, and the fact that the64-bit version hs a "pgtable" thing.
So this really needs to be done by first unifying the thing so that there is _one_ arch/x86/boot/compressed/vmlinux.lds.S file with a preprocessor that takes care of the trivial differences, and then after that, the ".text.init" games should just be removed.
Notice the _removed_.
I don't think the compressed stuff has any actual "init" code. It is just a blob loader that loads the compressed kernel. There should be no need for the init sections being special, so the vmlinux.lds.S file should just have a ".text*" section.
Hmm?
Linus
| |