]> git.ozlabs.org Git - yaboot.git/commit
Allow yaboot to load relocatable kernel
authorMohan Kumar M <mohan@in.ibm.com>
Fri, 12 Dec 2008 03:31:38 +0000 (03:31 +0000)
committerTony Breeds <tony@bakeyournoodle.com>
Wed, 11 Feb 2009 23:43:56 +0000 (10:43 +1100)
commit6a77b7a8418741a270bc8c74406b935168c587dc
treea6cf82f3498e7c4a8d13512a5fbc10bc314ab887
parent37578220a9120f0a7770b0c6c6eae046ce72fc93
Allow yaboot to load relocatable kernel

PPC64 relocatable kernels (built with CONFIG_RELOCATABLE=y) have the type of
ET_DYN. But yaboot code won't load the kernel if the ELF type is not
ET_EXEC. Attached patch adds support to yaboot to load relocatable kernels
also (ie load ET_DYN type also)

Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
second/yaboot.c