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
48 #endif /* CONFIG_PPC32 */
52 PROVIDE32 (etext = .);
58 /* Exception & bug tables */
60 __start___ex_table = .;
62 __stop___ex_table = .;
66 __start___bug_table = .;
68 __stop___bug_table = .;
72 * Init sections discarded at runtime
83 /* .exit.text is discarded at runtime, not link time,
84 * to deal with references from __bug_table
86 .exit.text : { *(.exit.text) }
90 __vtop_table_begin = .;
93 __ptov_table_begin = .;
96 #ifdef CONFIG_PPC_ISERIES
97 __dt_strings_start = .;
111 __initcall_start = .;
116 .con_initcall.init : {
117 __con_initcall_start = .;
118 *(.con_initcall.init)
119 __con_initcall_end = .;
126 __start___ftr_fixup = .;
128 __stop___ftr_fixup = .;
133 __start___fw_ftr_fixup = .;
135 __stop___fw_ftr_fixup = .;
139 . = ALIGN(PAGE_SIZE);
141 __initramfs_start = .;
159 __machine_desc_start = . ;
161 __machine_desc_end = . ;
164 /* freed after init ends here */
165 . = ALIGN(PAGE_SIZE);
169 * And now the various read/write data
172 . = ALIGN(PAGE_SIZE);
184 *(.data .data.rel* .toc1)
199 . = ALIGN(PAGE_SIZE);
201 PROVIDE32 (edata = .);
203 /* The initial task and kernel stack */
213 . = ALIGN(PAGE_SIZE);
214 .data.page_aligned : {
215 *(.data.page_aligned)
218 .data.cacheline_aligned : {
219 *(.data.cacheline_aligned)
222 . = ALIGN(PAGE_SIZE);
226 . = ALIGN(PAGE_SIZE);
231 * And finally the bss
243 . = ALIGN(PAGE_SIZE);