diff options
Diffstat (limited to 'arch/x86/mach-efi/elf_x86_64_efi.lds.S')
-rw-r--r-- | arch/x86/mach-efi/elf_x86_64_efi.lds.S | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/x86/mach-efi/elf_x86_64_efi.lds.S b/arch/x86/mach-efi/elf_x86_64_efi.lds.S index b620ba5b37..cb6a31101e 100644 --- a/arch/x86/mach-efi/elf_x86_64_efi.lds.S +++ b/arch/x86/mach-efi/elf_x86_64_efi.lds.S @@ -1,11 +1,11 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <asm-generic/barebox.lds.h> +#include <asm/barebox.lds.h> /* Same as elf_x86_64_fbsd_efi.lds, except for OUTPUT_FORMAT below - KEEP IN SYNC */ -OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64", "elf64-x86-64") -OUTPUT_ARCH(i386:x86-64) +OUTPUT_FORMAT(BAREBOX_OUTPUT_FORMAT) +OUTPUT_ARCH(BAREBOX_OUTPUT_ARCH) ENTRY(_start) SECTIONS { @@ -58,6 +58,8 @@ SECTIONS } _edata = .; + .barebox_imd : { BAREBOX_IMD } + . = ALIGN(4096); .dynamic : { *(.dynamic) } . = ALIGN(4096); |