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 #ifdef CONFIG_TEXT_BASE
19 . = CONFIG_TEXT_BASE; /* Location of bootcode in flash */
23 .text.start : { *(.text.start); }
25 .__efi_runtime_start : {
26 *(.__efi_runtime_start)
31 *(.rodata.efi_runtime*)
35 .__efi_runtime_stop : {
36 *(.__efi_runtime_stop)
39 .text : { *(.text*); }
45 KEEP(*(SORT(__u_boot_list*)));
50 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
51 KEEP(*(.rodata.efi.init));
63 .efi_runtime_rel_start :
65 *(.__efi_runtime_rel_start)
70 *(.rel*.efi_runtime.*)
73 .efi_runtime_rel_stop :
75 *(.__efi_runtime_rel_stop)
83 .dynsym : { *(.dynsym*) }
93 .dynamic : { *(.dynamic) }
98 .bss __rel_dyn_start (OVERLAY) : {
106 /DISCARD/ : { *(.dynsym) }
107 /DISCARD/ : { *(.dynstr*) }
108 /DISCARD/ : { *(.dynamic*) }
109 /DISCARD/ : { *(.plt*) }
110 /DISCARD/ : { *(.interp*) }
111 /DISCARD/ : { *(.gnu*) }
112 /DISCARD/ : { *(.note.gnu.property) }