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
9 OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64", "elf64-x86-64")
10 OUTPUT_ARCH(i386:x86-64)
15 .hash : { *(.hash) } /* this MUST come first, EFI expects it */
43 /* the EFI loader doesn't seem to like a .bss section, so we stick
44 * it all into .data: */
52 /* U-Boot lists and device tree */
54 *(SORT(.u_boot_list*));
60 .dynamic : { *(.dynamic) }
70 .dynsym : { *(.dynsym) }
72 .dynstr : { *(.dynstr) }
80 .comment 0 : { *(.comment) }