diff options
author | Alexander Graf <agraf@suse.de> | 2018-06-18 17:23:10 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-07-25 14:57:43 +0200 |
commit | dae73c4cdc862017a10d09588571e7f98de0cdd4 (patch) | |
tree | 4bd29866cc76788b3d3dfb38b9cef7927fa85709 /arch/x86/lib/reloc_ia32_efi.c | |
parent | bc028919e4e3c1e69437ba0d93751ff099f6c6c9 (diff) |
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>
Diffstat (limited to 'arch/x86/lib/reloc_ia32_efi.c')
-rw-r--r-- | arch/x86/lib/reloc_ia32_efi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/lib/reloc_ia32_efi.c b/arch/x86/lib/reloc_ia32_efi.c index a262533c0f..d56cd50bd9 100644 --- a/arch/x86/lib/reloc_ia32_efi.c +++ b/arch/x86/lib/reloc_ia32_efi.c @@ -10,7 +10,6 @@ #include <common.h> #include <efi.h> #include <elf.h> -#include <asm/elf.h> efi_status_t EFIAPI _relocate(long ldbase, Elf32_Dyn *dyn) { |