3 /* TODO cbass: define in ppc32 Makerules.KERNEL */
4 /*kernel_load_addr = 0xfd000000;*/ /* kernel link address */
27 PROVIDE (_kernel_image_start = .);
28 .physmem : AT(ADDR(.physmem)) {
31 .kip : AT(ADDR(.kip)) {
34 KEEP(*(.initkip.version))
35 KEEP(*(.initkip.features))
36 KEEP(*(.initkip.features.fini))
41 .mp_tramp : AT (ADDR(.mp_tramp)) {
45 .exceptcommon : AT(ADDR(.exceptcommon)) {
49 .text : AT (ADDR(.text)) {
52 *(.text SORT(.text.*) .gnu.linkonce.t.*)
57 *(.rodata .rodata.* .gnu.linkonce.r.*)
60 PROVIDE (_log_table = .);
62 * The section must start with ".debug" because else the linker
63 * complains about references to discarded sections
65 KEEP(*(SORT(.debug.jdb.log_table)))
66 PROVIDE (_log_table_end = .);
74 .data : AT (ADDR(.data)) {
75 *(.data .data.* .gnu.linkonce.d.*)
78 /* Constructor and destructor lists, ordered by priority. The lists
79 are traversed from end to start, therefore the *_END__ symbols
80 precede the *_LIST__ symbols. */
83 __PER_CPU_CTORS_END__ = .;
84 KEEP (*(.ctors.00010))
85 KEEP (*(.ctors.00009))
86 KEEP (*(.ctors.00008))
87 KEEP (*(.ctors.00007))
88 KEEP (*(.ctors.00006))
89 KEEP (*(.ctors.00005))
90 KEEP (*(.ctors.00004))
91 KEEP (*(.ctors.00003))
92 KEEP (*(.ctors.00002))
93 KEEP (*(.ctors.00001))
94 __PER_CPU_CTORS_LIST__ = .;
96 __PER_CPU_LATE_CTORS_END__ = .;
97 KEEP (*(.ctors.00020))
98 KEEP (*(.ctors.00019))
99 KEEP (*(.ctors.00018))
100 KEEP (*(.ctors.00017))
101 KEEP (*(.ctors.00016))
102 KEEP (*(.ctors.00015))
103 KEEP (*(.ctors.00014))
104 KEEP (*(.ctors.00013))
105 KEEP (*(.ctors.00012))
106 KEEP (*(.ctors.00011))
107 __PER_CPU_LATE_CTORS_LIST__ = .;
112 KEEP (*(SORT (.ctors.*)))
116 KEEP (*(SORT (.dtors.*)))
120 PROVIDE (_edata = .);
124 .per_cpu_data : AT (ADDR(.per_cpu_data)) {
125 PROVIDE (_per_cpu_data_start = .);
128 PROVIDE (_per_cpu_data_end = .);
132 .bss : AT (ADDR(.bss)) {
133 PROVIDE (_bss_start = .);
134 *(.bss .bss.* .gnu.linkonce.b.* COMMON)
135 PROVIDE (_bss_end = .);
141 .initcall.text : AT (ADDR(.initcall.text)) {
142 PROVIDE (_initcall_start = .);
144 } : kitext = 0x000000000
146 .initcall.data : AT (ADDR(.initcall.data)) {
149 PROVIDE (_initcall_end = .);