1 /* SPDX-License-Identifier: BSD-2-Clause */
3 * U-Boot EFI linker script
5 * Modified from usr/lib32/elf_x86_64_efi.lds in gnu-efi
8 OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64", "elf64-x86-64")
9 OUTPUT_ARCH(i386:x86-64)
14 .hash : { *(.hash) } /* this MUST come first, EFI expects it */
42 /* the EFI loader doesn't seem to like a .bss section, so we stick
43 * it all into .data: */
51 /* U-Boot lists and device tree */
53 *(SORT(.u_boot_list*));
59 .dynamic : { *(.dynamic) }
69 .dynsym : { *(.dynsym) }
71 .dynstr : { *(.dynstr) }
79 .comment 0 : { *(.comment) }