2 * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
3 * Scott McNutt <smcnutt@psyent.com>
5 * SPDX-License-Identifier: GPL-2.0+
9 OUTPUT_FORMAT("elf32-littlenios2")
18 arch/nios2/cpu/start.o (.text)
22 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
29 /* CMD TABLE - sandwich this in between text and data so
30 * the initialization code relocates the command table as
31 * well -- admittedly, this is just pure laziness ;-)
36 KEEP(*(SORT(.u_boot_list*)));
39 /* INIT DATA sections - "Small" data (see the gcc -G option)
40 * is always gp-relative. Here we make all init data sections
41 * adjacent to simplify the startup code -- and provide
42 * the global pointer for gp-relative access.
53 _gp = .; /* Global pointer addr */
67 /* UNINIT DATA - Small uninitialized data is first so it's
68 * adjacent to sdata and can be referenced via gp. The normal
69 * bss follows. We keep it adjacent to simplify init code.
92 /* DEBUG -- symbol table, string table, etc. etc.
94 .stab 0 : { *(.stab) }
95 .stabstr 0 : { *(.stabstr) }
96 .stab.excl 0 : { *(.stab.excl) }
97 .stab.exclstr 0 : { *(.stab.exclstr) }
98 .stab.index 0 : { *(.stab.index) }
99 .stab.indexstr 0 : { *(.stab.indexstr) }
100 .comment 0 : { *(.comment) }
101 .debug 0 : { *(.debug) }
102 .line 0 : { *(.line) }
103 .debug_srcinfo 0 : { *(.debug_srcinfo) }
104 .debug_sfnames 0 : { *(.debug_sfnames) }
105 .debug_aranges 0 : { *(.debug_aranges) }
106 .debug_pubnames 0 : { *(.debug_pubnames) }
107 .debug_info 0 : { *(.debug_info) }
108 .debug_abbrev 0 : { *(.debug_abbrev) }
109 .debug_line 0 : { *(.debug_line) }
110 .debug_frame 0 : { *(.debug_frame) }
111 .debug_str 0 : { *(.debug_str) }
112 .debug_loc 0 : { *(.debug_loc) }
113 .debug_macinfo 0 : { *(.debug_macinfo) }
114 .debug_weaknames 0 : { *(.debug_weaknames) }
115 .debug_funcnames 0 : { *(.debug_funcnames) }
116 .debug_typenames 0 : { *(.debug_typenames) }
117 .debug_varnames 0 : { *(.debug_varnames) }