From: Kees Cook Date: Fri, 12 Apr 2013 20:13:43 +0000 (-0700) Subject: x86, relocs: Consolidate processing logic X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~111^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d442e63d6a1b5736fd48a907bd7d2d87e411816;p=pandora-kernel.git x86, relocs: Consolidate processing logic Instead of counting and then processing relocations, do it in a single pass. This splits the processing logic into separate functions for realmode and 32-bit (and paves the way for 64-bit). Also extracts helper functions when emitting relocations. Based on work by Neill Clift and Michael Davidson. Signed-off-by: Kees Cook Link: http://lkml.kernel.org/r/1365797627-20874-3-git-send-email-keescook@chromium.org Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed