1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
8 OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64", "elf64-x86-64")
9 OUTPUT_ARCH(i386:x86-64)
14 #ifndef CONFIG_CMDLINE
15 /DISCARD/ : { *(.u_boot_list_2_cmd_*) }
18 . = CONFIG_SYS_TEXT_BASE; /* Location of bootcode in flash */
21 .text.start : { *(.text.start); }
23 .__efi_runtime_start : {
24 *(.__efi_runtime_start)
29 *(.rodata.efi_runtime*)
33 .__efi_runtime_stop : {
34 *(.__efi_runtime_stop)
37 .text : { *(.text*); }
43 KEEP(*(SORT(.u_boot_list*)));
48 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
49 KEEP(*(.rodata.efi.init));
61 .efi_runtime_rel_start :
63 *(.__efi_runtime_rel_start)
68 *(.rel*.efi_runtime.*)
71 .efi_runtime_rel_stop :
73 *(.__efi_runtime_rel_stop)
81 .dynsym : { *(.dynsym*) }
91 .dynamic : { *(.dynamic) }
96 .bss __rel_dyn_start (OVERLAY) : {
104 /DISCARD/ : { *(.dynsym) }
105 /DISCARD/ : { *(.dynstr*) }
106 /DISCARD/ : { *(.dynamic*) }
107 /DISCARD/ : { *(.plt*) }
108 /DISCARD/ : { *(.interp*) }
109 /DISCARD/ : { *(.gnu*) }