[PATCH 1/2] x86_64: Reflect the relocatability of the kernel in the ELF header.

Andi Kleen ak at suse.de
Mon Apr 30 11:17:07 EDT 2007

On Monday 30 April 2007 17:12:39 Eric W. Biederman wrote:
> Currently because vmlinux does not reflect that the kernel is relocatable
> we still have to support CONFIG_PHYSICAL_START.  So this patch adds a small
> c program to do what we cannot do with a linker script set the elf header
> type to ET_DYN.
> Since last time I have fixed the type to be in my code ET_DYN (oops),
> and verified this works with kexec.  I realized while testing that we
> don't have anyway of identifying a kernel vmlinux as linux so we
> probably want to add an ELF note but that will be another patch.

The patch is ok for me, but does it pass Vivek's usual testing?


More information about the kexec mailing list