1 #include <linux/config.h>
3 #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. */
24 /* Read-only sections, merged into text segment: */
27 .interp : { *(.interp) }
29 .dynsym : { *(.dynsym) }
30 .dynstr : { *(.dynstr) }
31 .rel.text : { *(.rel.text) }
32 .rela.text : { *(.rela.text) }
33 .rel.data : { *(.rel.data) }
34 .rela.data : { *(.rela.data) }
35 .rel.rodata : { *(.rel.rodata) }
36 .rela.rodata : { *(.rela.rodata) }
37 .rel.got : { *(.rel.got) }
38 .rela.got : { *(.rela.got) }
39 .rel.ctors : { *(.rel.ctors) }
40 .rela.ctors : { *(.rela.ctors) }
41 .rel.dtors : { *(.rel.dtors) }
42 .rela.dtors : { *(.rela.dtors) }
43 .rel.bss : { *(.rel.bss) }
44 .rela.bss : { *(.rela.bss) }
45 .rel.plt : { *(.rel.plt) }
46 .rela.plt : { *(.rela.plt) }
47 /* .init : { *(.init) } =0*/
71 .fini : { *(.fini) } =0
72 .ctors : { *(.ctors) }
73 .dtors : { *(.dtors) }
75 .fixup : { *(.fixup) }
79 __start___ex_table = .;
81 __stop___ex_table = .;
85 __start___bug_table = .;
87 __stop___bug_table = .;
92 __start___ftr_fixup = .;
94 __stop___ftr_fixup = .;
101 /* Read-write section, merged into data segment: */
102 . = ALIGN(PAGE_SIZE);
115 . = ALIGN(PAGE_SIZE);
117 .data_nosave : { *(.data.nosave) }
118 . = ALIGN(PAGE_SIZE);
122 .data.cacheline_aligned : { *(.data.cacheline_aligned) }
128 .data.init_task : { *(.data.init_task) }
131 /* will be freed after init */
132 . = ALIGN(PAGE_SIZE);
140 /* .exit.text is discarded at runtime, not link time,
141 to deal with references from __bug_table */
142 .exit.text : { *(.exit.text) }
146 __vtop_table_begin = .;
148 __vtop_table_end = .;
149 __ptov_table_begin = .;
151 __ptov_table_end = .;
162 __initcall_start = .;
173 .con_initcall.init : {
174 __con_initcall_start = .;
175 *(.con_initcall.init)
176 __con_initcall_end = .;
182 __start___ftr_fixup = .;
183 __ftr_fixup : { *(__ftr_fixup) }
184 __stop___ftr_fixup = .;
186 . = ALIGN(PAGE_SIZE);
188 __initramfs_start = .;
203 . = ALIGN(PAGE_SIZE);
207 /* freed after init ends here */
209 /* Read/write sections */
210 . = ALIGN(PAGE_SIZE);
213 /* The initial task and kernel stack */
218 . = ALIGN(PAGE_SIZE);
219 .data.page_aligned : {
220 *(.data.page_aligned)
223 .data.cacheline_aligned : {
224 *(.data.cacheline_aligned)
228 *(.data .data.rel* .toc1)
240 . = ALIGN(PAGE_SIZE);
244 . = ALIGN(PAGE_SIZE);
246 __initramfs_start = .;
272 . = ALIGN(PAGE_SIZE);