Re: Patch to make the head.S-must-be-first-in-vmlinux orderexplicit

From: Eric W. Biederman
Date: Fri Feb 24 2006 - 08:49:04 EST


Andi Kleen <ak@xxxxxxx> writes:

> On Thursday 23 February 2006 14:57, Arjan van de Ven wrote:
>
>> > (or at least
>> > it shouldn't), but arch/x86_64/boot/compressed/head.S
>> > seems to have the entry address hardcoded. Perhaps you can just change this
>> > to pass in the right address?
>>
>> the issue is that the address will be a link time thing, which means
>> lots of complexity.
>
> bzImage image should be only generated after vmlinux is done
> and then the address should be available with a simple grep in System.map

Andi it is more than that. At least it was last I payed attention.
There are symbols like stext that various things depend on being early,
at least last time I looked. So while it is doable it requires some
careful looking.

Eric
-
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/