diff options
| author | Alexander Graf <[email protected]> | 2018-06-18 17:23:10 +0200 |
|---|---|---|
| committer | Alexander Graf <[email protected]> | 2018-07-25 14:57:43 +0200 |
| commit | dae73c4cdc862017a10d09588571e7f98de0cdd4 (patch) | |
| tree | 4bd29866cc76788b3d3dfb38b9cef7927fa85709 /arch/x86/lib | |
| 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 <[email protected]>
Diffstat (limited to 'arch/x86/lib')
| -rw-r--r-- | arch/x86/lib/reloc_ia32_efi.c | 1 | ||||
| -rw-r--r-- | arch/x86/lib/reloc_x86_64_efi.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/lib/reloc_ia32_efi.c b/arch/x86/lib/reloc_ia32_efi.c index a262533c0fd..d56cd50bd93 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) { diff --git a/arch/x86/lib/reloc_x86_64_efi.c b/arch/x86/lib/reloc_x86_64_efi.c index 59d6f8d3d34..2694de71104 100644 --- a/arch/x86/lib/reloc_x86_64_efi.c +++ b/arch/x86/lib/reloc_x86_64_efi.c @@ -12,7 +12,6 @@ #include <common.h> #include <efi.h> #include <elf.h> -#include <asm/elf.h> efi_status_t EFIAPI _relocate(long ldbase, Elf64_Dyn *dyn) { |
