1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
8 OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
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));
63 .efi_runtime_rel_start :
65 *(.__efi_runtime_rel_start)
70 *(.rel*.efi_runtime.*)
73 .efi_runtime_rel_stop :
75 *(.__efi_runtime_rel_stop)
84 .dynsym : { *(.dynsym*) }
95 .bss __rel_dyn_start (OVERLAY) : {
103 /DISCARD/ : { *(.dynstr*) }
104 /DISCARD/ : { *(.dynamic*) }
105 /DISCARD/ : { *(.plt*) }
106 /DISCARD/ : { *(.interp*) }
107 /DISCARD/ : { *(.gnu*) }
108 /DISCARD/ : { *(.note.gnu.property) }
110 #ifdef CONFIG_X86_16BIT_INIT
112 * The following expressions place the 16-bit Real-Mode code and
113 * Reset Vector at the end of the Flash ROM
115 . = START_16 - RESET_SEG_START;
116 .start16 : AT (START_16) {
120 . = RESET_VEC_LOC - RESET_SEG_START;
121 .resetvec : AT (RESET_VEC_LOC) {