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 = .;
136 . = ALIGN(PAGE_SIZE);
138 __initramfs_start = .;
156 __machine_desc_start = . ;
158 __machine_desc_end = . ;
161 /* freed after init ends here */
162 . = ALIGN(PAGE_SIZE);
166 * And now the various read/write data
169 . = ALIGN(PAGE_SIZE);
181 *(.data .data.rel* .toc1)
196 . = ALIGN(PAGE_SIZE);
198 PROVIDE32 (edata = .);
200 /* The initial task and kernel stack */
210 . = ALIGN(PAGE_SIZE);
211 .data.page_aligned : {
212 *(.data.page_aligned)
215 .data.cacheline_aligned : {
216 *(.data.cacheline_aligned)
219 . = ALIGN(PAGE_SIZE);
223 . = ALIGN(PAGE_SIZE);
228 * And finally the bss
240 . = ALIGN(PAGE_SIZE);