1 /* SPDX-License-Identifier: BSD-2-Clause */
3 * U-Boot EFI linker script
5 * Modified from usr/lib32/elf_ia32_efi.lds in gnu-efi
8 OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
14 .hash : { *(.hash) } /* this MUST come first, EFI expects it */
43 * the EFI loader doesn't seem to like a .bss section, so we
44 * stick it all into .data:
52 /* U-Boot lists and device tree */
54 *(SORT(.u_boot_list*));
60 .dynamic : { *(.dynamic) }
75 .reloc : /* This is the PECOFF .reloc section! */
80 .dynsym : { *(.dynsym) }
82 .dynstr : { *(.dynstr) }
90 .comment 0 : { *(.comment) }