2 * U-Boot EFI linker script
4 * SPDX-License-Identifier: BSD-2-Clause
6 * Modified from usr/lib32/elf_x86_64_efi.lds in gnu-efi
11 OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64", "elf64-x86-64")
12 OUTPUT_ARCH(i386:x86-64)
17 .hash : { *(.hash) } /* this MUST come first, EFI expects it */
45 /* the EFI loader doesn't seem to like a .bss section, so we stick
46 * it all into .data: */
54 /* U-Boot lists and device tree */
56 *(SORT(.u_boot_list*));
62 .dynamic : { *(.dynamic) }
72 .dynsym : { *(.dynsym) }
74 .dynstr : { *(.dynstr) }
82 .comment 0 : { *(.comment) }