aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/lib/reloc_ia32_efi.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2018-06-18 17:23:10 +0200
committerAlexander Graf <agraf@suse.de>2018-07-25 14:57:43 +0200
commitdae73c4cdc862017a10d09588571e7f98de0cdd4 (patch)
tree4bd29866cc76788b3d3dfb38b9cef7927fa85709 /arch/x86/lib/reloc_ia32_efi.c
parentbc028919e4e3c1e69437ba0d93751ff099f6c6c9 (diff)
downloadu-boot-dae73c4cdc862017a10d09588571e7f98de0cdd4.zip
u-boot-dae73c4cdc862017a10d09588571e7f98de0cdd4.tar.gz
u-boot-dae73c4cdc862017a10d09588571e7f98de0cdd4.tar.bz2
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.c1
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 a262533..d56cd50 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)
{