2 #define PROVIDE32(x) PROVIDE(__unused__##x)
4 #define PROVIDE32(x) PROVIDE(x)
7 #include <asm-generic/vmlinux.lds.h>
13 OUTPUT_ARCH(powerpc:common64)
16 OUTPUT_ARCH(powerpc:common)
17 jiffies = jiffies_64 + 4;
21 /* Sections to be discarded. */
30 * Text, read only data and other permanent read-only sections
38 *(.text .fixup .text.init.refok .exit.text.refok)
48 #endif /* CONFIG_PPC32 */
52 PROVIDE32 (etext = .);
58 /* Exception & bug tables */
60 __start___ex_table = .;
62 __stop___ex_table = .;
70 * Init sections discarded at runtime
81 /* .exit.text is discarded at runtime, not link time,
82 * to deal with references from __bug_table
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 = .;
138 #ifdef CONFIG_BLK_DEV_INITRD
139 . = ALIGN(PAGE_SIZE);
141 __initramfs_start = .;
146 . = ALIGN(PAGE_SIZE);
150 *(.data.percpu.shared_aligned)
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);
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(L1_CACHE_BYTES);
222 .data.read_mostly : {
226 . = ALIGN(PAGE_SIZE);
230 . = ALIGN(PAGE_SIZE);
235 * And finally the bss
247 . = ALIGN(PAGE_SIZE);