3 /* TODO cbass: define in ppc32 Makerules.KERNEL */
4 /*kernel_load_addr = 0xfd000000;*/ /* kernel link address */
28 PROVIDE (_kernel_image_start = .);
29 .physmem : AT(ADDR(.physmem)) {
32 .kip : AT(ADDR(.kip)) {
35 KEEP(*(.initkip.version))
36 KEEP(*(.initkip.features))
37 KEEP(*(.initkip.features.fini))
42 .koptions : AT (ADDR(.koptions)) {
46 .mp_tramp : AT (ADDR(.mp_tramp)) {
50 .exceptcommon : AT(ADDR(.exceptcommon)) {
54 .text : AT (ADDR(.text)) {
57 *(.text SORT(.text.*) .gnu.linkonce.t.*)
62 *(.rodata .rodata.* .gnu.linkonce.r.*)
65 PROVIDE (_log_table = .);
67 * The section must start with ".debug" because else the linker
68 * complains about references to discarded sections
70 KEEP(*(SORT(.debug.jdb.log_table)))
71 PROVIDE (_log_table_end = .);
79 .data : AT (ADDR(.data)) {
80 *(.data .data.* .gnu.linkonce.d.*)
83 /* Constructor and destructor lists, ordered by priority. The lists
84 are traversed from end to start, therefore the *_END__ symbols
85 precede the *_LIST__ symbols. */
88 __PER_CPU_CTORS_END__ = .;
89 KEEP (*(.ctors.00010))
90 KEEP (*(.ctors.00009))
91 KEEP (*(.ctors.00008))
92 KEEP (*(.ctors.00007))
93 KEEP (*(.ctors.00006))
94 KEEP (*(.ctors.00005))
95 KEEP (*(.ctors.00004))
96 KEEP (*(.ctors.00003))
97 KEEP (*(.ctors.00002))
98 KEEP (*(.ctors.00001))
99 __PER_CPU_CTORS_LIST__ = .;
101 __PER_CPU_LATE_CTORS_END__ = .;
102 KEEP (*(.ctors.00020))
103 KEEP (*(.ctors.00019))
104 KEEP (*(.ctors.00018))
105 KEEP (*(.ctors.00017))
106 KEEP (*(.ctors.00016))
107 KEEP (*(.ctors.00015))
108 KEEP (*(.ctors.00014))
109 KEEP (*(.ctors.00013))
110 KEEP (*(.ctors.00012))
111 KEEP (*(.ctors.00011))
112 __PER_CPU_LATE_CTORS_LIST__ = .;
117 KEEP (*(SORT (.ctors.*)))
121 KEEP (*(SORT (.dtors.*)))
125 PROVIDE (_edata = .);
129 .per_cpu_data : AT (ADDR(.per_cpu_data)) {
130 PROVIDE (_per_cpu_data_start = .);
133 PROVIDE (_per_cpu_data_end = .);
137 .bss : AT (ADDR(.bss)) {
138 PROVIDE (_bss_start = .);
139 *(.bss .bss.* .gnu.linkonce.b.* COMMON)
140 PROVIDE (_bss_end = .);
146 .initcall.text : AT (ADDR(.initcall.text)) {
147 PROVIDE (_initcall_start = .);
149 } : kitext = 0x000000000
151 .initcall.data : AT (ADDR(.initcall.data)) {
154 PROVIDE (_initcall_end = .);