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 . = IMAGE_TEXT_BASE; /* Location of bootcode in flash */
20 .text : { *(.text*); }
26 KEEP(*(SORT(.u_boot_list*)));
30 .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
40 __binman_sym_start = .;
41 KEEP(*(SORT(.binman_sym*)));
45 _image_binary_end = .;
55 __bss_size = __bss_end - __bss_start;
57 /DISCARD/ : { *(.dynstr*) }
58 /DISCARD/ : { *(.dynamic*) }
59 /DISCARD/ : { *(.plt*) }
60 /DISCARD/ : { *(.interp*) }
61 /DISCARD/ : { *(.gnu*) }
63 #if defined(CONFIG_SPL_X86_16BIT_INIT) || defined(CONFIG_TPL_X86_16BIT_INIT)
65 * The following expressions place the 16-bit Real-Mode code and
66 * Reset Vector at the end of the Flash ROM
68 . = START_16 - RESET_SEG_START;
69 .start16 : AT (START_16) {
73 . = RESET_VEC_LOC - RESET_SEG_START;
74 .resetvec : AT (RESET_VEC_LOC) {