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 = .;
142 . = ALIGN(PAGE_SIZE);
151 __machine_desc_start = . ;
153 __machine_desc_end = . ;
156 /* freed after init ends here */
157 . = ALIGN(PAGE_SIZE);
161 * And now the various read/write data
164 . = ALIGN(PAGE_SIZE);
176 *(.data .data.rel* .toc1)
191 . = ALIGN(PAGE_SIZE);
193 PROVIDE32 (edata = .);
195 /* The initial task and kernel stack */
205 . = ALIGN(PAGE_SIZE);
206 .data.page_aligned : {
207 *(.data.page_aligned)
210 .data.cacheline_aligned : {
211 *(.data.cacheline_aligned)
214 . = ALIGN(PAGE_SIZE);
218 . = ALIGN(PAGE_SIZE);
223 * And finally the bss
235 . = ALIGN(PAGE_SIZE);