x86, relocs: Generalize ELF structure names
authorKees Cook <keescook@chromium.org>
Fri, 12 Apr 2013 20:13:42 +0000 (13:13 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 16 Apr 2013 22:19:06 +0000 (15:19 -0700)
commitbf11655cf2ecdcfaacbc8324da4a3edfe276ba9d
treea761d2f887cc64074539aca775743dc108d59394
parent4eefbe792baedb474e256d35370849992fcf1c79
x86, relocs: Generalize ELF structure names

In preparation for making the reloc tool operate on 64-bit relocations,
generalize the structure names for easy recompilation via #defines.

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-2-git-send-email-keescook@chromium.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/tools/relocs.c