3 #define PROVIDE32(x) PROVIDE(__unused__##x)
6 #define KERNELBASE CONFIG_KERNEL_START
7 #define PROVIDE32(x) PROVIDE(x)
9 #include <asm-generic/vmlinux.lds.h>
14 OUTPUT_ARCH(powerpc:common64)
17 OUTPUT_ARCH(powerpc:common)
18 jiffies = jiffies_64 + 4;
22 /* Sections to be discarded. */
31 * Text, read only data and other permanent read-only sections
47 #endif /* CONFIG_PPC32 */
51 PROVIDE32 (etext = .);
57 /* Exception & bug tables */
59 __start___ex_table = .;
61 __stop___ex_table = .;
65 __start___bug_table = .;
67 __stop___bug_table = .;
71 * Init sections discarded at runtime
82 /* .exit.text is discarded at runtime, not link time,
83 * to deal with references from __bug_table
85 .exit.text : { *(.exit.text) }
89 __vtop_table_begin = .;
92 __ptov_table_begin = .;
95 #ifdef CONFIG_PPC_ISERIES
96 __dt_strings_start = .;
110 __initcall_start = .;
121 .con_initcall.init : {
122 __con_initcall_start = .;
123 *(.con_initcall.init)
124 __con_initcall_end = .;
131 __start___ftr_fixup = .;
133 __stop___ftr_fixup = .;
138 __start___fw_ftr_fixup = .;
140 __stop___fw_ftr_fixup = .;
144 . = ALIGN(PAGE_SIZE);
146 __initramfs_start = .;
164 __machine_desc_start = . ;
166 __machine_desc_end = . ;
169 /* freed after init ends here */
170 . = ALIGN(PAGE_SIZE);
174 * And now the various read/write data
177 . = ALIGN(PAGE_SIZE);
189 *(.data .data.rel* .toc1)
204 . = ALIGN(PAGE_SIZE);
206 PROVIDE32 (edata = .);
208 /* 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)
227 . = ALIGN(PAGE_SIZE);
231 . = ALIGN(PAGE_SIZE);
236 * And finally the bss
248 . = ALIGN(PAGE_SIZE);