2 * U-Boot EFI linker script
4 * SPDX-License-Identifier: BSD-2-Clause
6 * Modified from usr/lib32/elf_ia32_efi.lds in gnu-efi
11 OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
17 .hash : { *(.hash) } /* this MUST come first, EFI expects it */
46 * the EFI loader doesn't seem to like a .bss section, so we
47 * stick it all into .data:
55 /* U-Boot lists and device tree */
57 *(SORT(.u_boot_list*));
63 .dynamic : { *(.dynamic) }
78 .reloc : /* This is the PECOFF .reloc section! */
83 .dynsym : { *(.dynsym) }
85 .dynstr : { *(.dynstr) }
93 .comment 0 : { *(.comment) }