]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
x86, relocs: Add 64-bit ELF support to relocs tool
authorKees Cook <keescook@chromium.org>
Fri, 12 Apr 2013 20:13:44 +0000 (13:13 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 16 Apr 2013 22:19:22 +0000 (15:19 -0700)
commit946166af95d1defacfbc21e7c902d0556a2a7660
treec3de26414a9728ca2a04331a5dcc1d900c0a641b
parent5d442e63d6a1b5736fd48a907bd7d2d87e411816
x86, relocs: Add 64-bit ELF support to relocs tool

This adds the ability to process relocations from the 64-bit kernel ELF,
if built with ELF_BITS=64 defined. The special case for the percpu area is
handled, along with some other symbols specific to the 64-bit kernel.

Based on work by Neill Clift and Michael Davidson.

Signed-off-by: Kees Cook <keescook@chromium.org>
Link: http://lkml.kernel.org/r/1365797627-20874-4-git-send-email-keescook@chromium.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/tools/relocs.c