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 = .;
68 * Init sections discarded at runtime
79 /* .exit.text is discarded at runtime, not link time,
80 * to deal with references from __bug_table
82 .exit.text : { *(.exit.text) }
86 __vtop_table_begin = .;
89 __ptov_table_begin = .;
92 #ifdef CONFIG_PPC_ISERIES
93 __dt_strings_start = .;
107 __initcall_start = .;
112 .con_initcall.init : {
113 __con_initcall_start = .;
114 *(.con_initcall.init)
115 __con_initcall_end = .;
122 __start___ftr_fixup = .;
124 __stop___ftr_fixup = .;
129 __start___fw_ftr_fixup = .;
131 __stop___fw_ftr_fixup = .;
134 #ifdef CONFIG_BLK_DEV_INITRD
135 . = ALIGN(PAGE_SIZE);
137 __initramfs_start = .;
155 __machine_desc_start = . ;
157 __machine_desc_end = . ;
160 /* freed after init ends here */
161 . = ALIGN(PAGE_SIZE);
165 * And now the various read/write data
168 . = ALIGN(PAGE_SIZE);
180 *(.data .data.rel* .toc1)
195 . = ALIGN(PAGE_SIZE);
197 PROVIDE32 (edata = .);
199 /* The initial task and kernel stack */
209 . = ALIGN(PAGE_SIZE);
210 .data.page_aligned : {
211 *(.data.page_aligned)
214 .data.cacheline_aligned : {
215 *(.data.cacheline_aligned)
218 . = ALIGN(PAGE_SIZE);
222 . = ALIGN(PAGE_SIZE);
227 * And finally the bss
239 . = ALIGN(PAGE_SIZE);