summaryrefslogtreecommitdiffstats
path: root/arch/x86/mach-efi/elf_x86_64_efi.lds.S
diff options
context:
space:
mode:
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.S10
1 files changed, 7 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 ab4a9e815c..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,9 +1,11 @@
-#include <asm-generic/barebox.lds.h>
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#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
{
@@ -56,6 +58,8 @@ SECTIONS
}
_edata = .;
+ .barebox_imd : { BAREBOX_IMD }
+
. = ALIGN(4096);
.dynamic : { *(.dynamic) }
. = ALIGN(4096);