1 #include <linux/config.h>
5 #include <asm-generic/vmlinux.lds.h>
8 OUTPUT_ARCH(powerpc:common64)
11 OUTPUT_ARCH(powerpc:common)
12 jiffies = jiffies_64 + 4;
16 /* Sections to be discarded. */
25 /* Read-only sections, merged into text segment: */
28 .interp : { *(.interp) }
30 .dynsym : { *(.dynsym) }
31 .dynstr : { *(.dynstr) }
32 .rel.text : { *(.rel.text) }
33 .rela.text : { *(.rela.text) }
34 .rel.data : { *(.rel.data) }
35 .rela.data : { *(.rela.data) }
36 .rel.rodata : { *(.rel.rodata) }
37 .rela.rodata : { *(.rela.rodata) }
38 .rel.got : { *(.rel.got) }
39 .rela.got : { *(.rela.got) }
40 .rel.ctors : { *(.rel.ctors) }
41 .rela.ctors : { *(.rela.ctors) }
42 .rel.dtors : { *(.rel.dtors) }
43 .rela.dtors : { *(.rela.dtors) }
44 .rel.bss : { *(.rel.bss) }
45 .rela.bss : { *(.rela.bss) }
46 .rel.plt : { *(.rel.plt) }
47 .rela.plt : { *(.rela.plt) }
48 /* .init : { *(.init) } =0*/
78 .fini : { *(.fini) } =0
79 .ctors : { *(.ctors) }
80 .dtors : { *(.dtors) }
82 .fixup : { *(.fixup) }
86 __start___ex_table = .;
88 __stop___ex_table = .;
92 __start___bug_table = .;
94 __stop___bug_table = .;
99 __start___ftr_fixup = .;
101 __stop___ftr_fixup = .;
108 /* Read-write section, merged into data segment: */
123 .data_nosave : { *(.data.nosave) }
128 .data.cacheline_aligned : { *(.data.cacheline_aligned) }
134 .data.init_task : { *(.data.init_task) }
138 /* will be freed after init */
139 . = ALIGN(PAGE_SIZE);
148 /* .exit.text is discarded at runtime, not link time,
149 to deal with references from __bug_table */
150 .exit.text : { *(.exit.text) }
157 __vtop_table_begin = .;
159 __vtop_table_end = .;
160 __ptov_table_begin = .;
162 __ptov_table_end = .;
182 __initcall_start = .;
186 __initcall_start = .;
202 __con_initcall_start = .;
204 .con_initcall.init : {
206 __con_initcall_start = .;
208 *(.con_initcall.init)
210 __con_initcall_end = .;
214 __con_initcall_end = .;
220 __start___ftr_fixup = .;
221 __ftr_fixup : { *(__ftr_fixup) }
222 __stop___ftr_fixup = .;
224 . = ALIGN(PAGE_SIZE);
226 __initramfs_start = .;
250 . = ALIGN(PAGE_SIZE);
253 /* freed after init ends here */
256 /* Read/write sections */
257 . = ALIGN(PAGE_SIZE);
259 /* The initial task and kernel stack */
264 . = ALIGN(PAGE_SIZE);
265 .data.page_aligned : {
266 *(.data.page_aligned)
269 .data.cacheline_aligned : {
270 *(.data.cacheline_aligned)
274 *(.data .data.rel* .toc1)
286 . = ALIGN(PAGE_SIZE);
291 . = ALIGN(PAGE_SIZE);
294 __initramfs_start = .;
328 . = ALIGN(PAGE_SIZE);