elf: Move x86 reloc defines to common elf.h
authorAlexander Graf <agraf@suse.de>
Mon, 18 Jun 2018 15:23:10 +0000 (17:23 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 25 Jul 2018 12:57:43 +0000 (14:57 +0200)
commitdae73c4cdc862017a10d09588571e7f98de0cdd4
tree4bd29866cc76788b3d3dfb38b9cef7927fa85709
parentbc028919e4e3c1e69437ba0d93751ff099f6c6c9
elf: Move x86 reloc defines to common elf.h

We need to know about x86 relocation definitions even in cases where
we don't officially build against the x86 target, such as with sandbox.

So let's move the x86 definitions into the common elf header, where all
other architectures already have them.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/x86/include/asm/elf.h [deleted file]
arch/x86/lib/reloc_ia32_efi.c
arch/x86/lib/reloc_x86_64_efi.c
include/elf.h