Re: [RFC] ELF Relocatable x86 and x86_64 bzImages

From: Eric W. Biederman
Date: Tue Aug 01 2006 - 22:01:48 EST


"H. Peter Anvin" <hpa@xxxxxxxxx> writes:

> Vivek Goyal wrote:
>> Hi Eric,
>> Can't we use the x86_64 relocation approach for i386 as well? I mean keep
>> the virtual address space fixed and updating the page tables. This would
>> help in the sense that you don't have to change gdb if somebody decides to
>> debug the relocated kernel.
>> Any such tool that retrieves the symbol virtual address from vmlinux will
>> be confused.
>>
>
> I don't think this is practical given the virtual space constraints on i386
> systems.

Exactly.

Plus it is a lot of dangerous work. Processing is a lot more
conservative.

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/