1 #include <linux/config.h>
7 #include <asm-generic/vmlinux.lds.h>
10 OUTPUT_ARCH(powerpc:common64)
13 OUTPUT_ARCH(powerpc:common)
14 jiffies = jiffies_64 + 4;
18 /* 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*/
72 .fini : { *(.fini) } =0
73 .ctors : { *(.ctors) }
74 .dtors : { *(.dtors) }
76 .fixup : { *(.fixup) }
80 __start___ex_table = .;
82 __stop___ex_table = .;
86 __start___bug_table = .;
88 __stop___bug_table = .;
93 __start___ftr_fixup = .;
95 __stop___ftr_fixup = .;
102 /* Read-write section, merged into data segment: */
103 . = ALIGN(PAGE_SIZE);
116 . = ALIGN(PAGE_SIZE);
118 .data_nosave : { *(.data.nosave) }
119 . = ALIGN(PAGE_SIZE);
123 .data.cacheline_aligned : { *(.data.cacheline_aligned) }
129 .data.init_task : { *(.data.init_task) }
132 /* will be freed after init */
133 . = ALIGN(PAGE_SIZE);
141 /* .exit.text is discarded at runtime, not link time,
142 to deal with references from __bug_table */
143 .exit.text : { *(.exit.text) }
147 __vtop_table_begin = .;
149 __vtop_table_end = .;
150 __ptov_table_begin = .;
152 __ptov_table_end = .;
163 __initcall_start = .;
174 .con_initcall.init : {
175 __con_initcall_start = .;
176 *(.con_initcall.init)
177 __con_initcall_end = .;
183 __start___ftr_fixup = .;
184 __ftr_fixup : { *(__ftr_fixup) }
185 __stop___ftr_fixup = .;
187 . = ALIGN(PAGE_SIZE);
189 __initramfs_start = .;
204 . = ALIGN(PAGE_SIZE);
208 /* freed after init ends here */
210 /* Read/write sections */
211 . = ALIGN(PAGE_SIZE);
214 /* The initial task and kernel stack */
219 . = ALIGN(PAGE_SIZE);
220 .data.page_aligned : {
221 *(.data.page_aligned)
224 .data.cacheline_aligned : {
225 *(.data.cacheline_aligned)
229 *(.data .data.rel* .toc1)
241 . = ALIGN(PAGE_SIZE);
245 . = ALIGN(PAGE_SIZE);
247 __initramfs_start = .;
273 . = ALIGN(PAGE_SIZE);