From: Kees Cook Date: Mon, 8 Jul 2013 16:15:17 +0000 (-0700) Subject: x86, relocs: Move ELF relocation handling to C X-Git-Tag: v3.12-rc1~158^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a02150610776f66b40257624822a879311592bb2;p=pandora-kernel.git x86, relocs: Move ELF relocation handling to C Moves the relocation handling into C, after decompression. This requires that the decompressed size is passed to the decompression routine as well so that relocations can be found. Only kernels that need relocation support will use the code (currently just x86_32), but this is laying the ground work for 64-bit using it in support of KASLR. Based on work by Neill Clift and Michael Davidson. Signed-off-by: Kees Cook Link: http://lkml.kernel.org/r/20130708161517.GA4832@www.outflux.net Acked-by: Zhang Yanfei Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed