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 = .;
115 .con_initcall.init : {
116 __con_initcall_start = .;
117 *(.con_initcall.init)
118 __con_initcall_end = .;
125 __start___ftr_fixup = .;
127 __stop___ftr_fixup = .;
132 __start___fw_ftr_fixup = .;
134 __stop___fw_ftr_fixup = .;
138 . = ALIGN(PAGE_SIZE);
140 __initramfs_start = .;
158 __machine_desc_start = . ;
160 __machine_desc_end = . ;
163 /* freed after init ends here */
164 . = ALIGN(PAGE_SIZE);
168 * And now the various read/write data
171 . = ALIGN(PAGE_SIZE);
183 *(.data .data.rel* .toc1)
198 . = ALIGN(PAGE_SIZE);
200 PROVIDE32 (edata = .);
202 /* The initial task and kernel stack */
212 . = ALIGN(PAGE_SIZE);
213 .data.page_aligned : {
214 *(.data.page_aligned)
217 .data.cacheline_aligned : {
218 *(.data.cacheline_aligned)
221 . = ALIGN(PAGE_SIZE);
225 . = ALIGN(PAGE_SIZE);
230 * And finally the bss
242 . = ALIGN(PAGE_SIZE);