Re: [RFC] ELF Relocatable x86 and x86_64 bzImages



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



Relevant Pages

  • Re: Changing the c:program files default
    ... and updating entries from the system configuation files. ... or by manually changing a few registry keys ... The relocation process involves finding and moving all of the specified ...
    (microsoft.public.windowsxp.general)
  • Re: Change the default c:program files directory
    ... and updating entries from the system configuation files. ... or by manually changing a few registry keys ... The relocation process involves finding and moving all of the specified ...
    (microsoft.public.windowsxp.customize)
  • Re: [RFC] ELF Relocatable x86 and x86_64 bzImages
    ... Can't we use the x86_64 relocation approach for i386 as well? ... the virtual address space fixed and updating the page tables. ... Any such tool that retrieves the symbol virtual address from vmlinux will ... I don't think this is practical given the virtual space constraints on i386 systems. ...
    (Linux-Kernel)
  • Re: [PATCH 1/2] x86_64: Reflect the relocatability of the kernel in the ELF header.
    ... Currently because vmlinux does not reflect that the kernel is relocatable ... object files to create an executable or a shared object file. ... An executable file holds a program suitable for execution. ... relocation processing. ...
    (Linux-Kernel)
  • Re: [PATCH 1/2] x86_64: Reflect the relocatability of the kernel in the ELF header.
    ... Currently because vmlinux does not reflect that the kernel is relocatable ... An executable file holds a program suitable for execution. ... relocation processing on a ET_DYN executable but they are allowed to ...
    (Linux-Kernel)