3 * Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
5 * SPDX-License-Identifier: GPL-2.0+
9 OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
15 . = CONFIG_SYS_TEXT_BASE; /* Location of bootcode in flash */
17 .text : { *(.text*); }
23 KEEP(*(SORT(.u_boot_list*)));
27 .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
43 .dynsym : { *(.dynsym*) }
47 .rel.dyn : { *(.rel.dyn) }
52 .bss __rel_dyn_start (OVERLAY) : {
60 /DISCARD/ : { *(.dynstr*) }
61 /DISCARD/ : { *(.dynamic*) }
62 /DISCARD/ : { *(.plt*) }
63 /DISCARD/ : { *(.interp*) }
64 /DISCARD/ : { *(.gnu*) }
66 #ifdef CONFIG_X86_RESET_VECTOR
69 * The following expressions place the 16-bit Real-Mode code and
70 * Reset Vector at the end of the Flash ROM
73 .start16 : AT (CONFIG_SYS_TEXT_BASE + (CONFIG_SYS_MONITOR_LEN - RESET_SEG_SIZE + START_16)) { KEEP(*(.start16)); }
76 .resetvec : AT (CONFIG_SYS_TEXT_BASE + (CONFIG_SYS_MONITOR_LEN - RESET_SEG_SIZE + RESET_VEC_LOC)) { KEEP(*(.resetvec)); }