1 #include <linux/config.h>
6 #define KERNELBASE CONFIG_KERNEL_START
8 #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. */
29 /* Read-only sections, merged into text segment: */
51 .fini : { *(.fini) } =0
52 .ctors : { *(.ctors) }
53 .dtors : { *(.dtors) }
55 .fixup : { *(.fixup) }
59 __start___ex_table = .;
61 __stop___ex_table = .;
65 __start___bug_table = .;
67 __stop___bug_table = .;
72 __start___ftr_fixup = .;
74 __stop___ftr_fixup = .;
81 /* Read-write section, merged into data segment: */
97 .data_nosave : { *(.data.nosave) }
102 .data.cacheline_aligned : { *(.data.cacheline_aligned) }
108 .data.init_task : { *(.data.init_task) }
111 /* will be freed after init */
112 . = ALIGN(PAGE_SIZE);
120 /* .exit.text is discarded at runtime, not link time,
121 to deal with references from __bug_table */
122 .exit.text : { *(.exit.text) }
126 __vtop_table_begin = .;
128 __vtop_table_end = .;
129 __ptov_table_begin = .;
131 __ptov_table_end = .;
142 __initcall_start = .;
153 .con_initcall.init : {
154 __con_initcall_start = .;
155 *(.con_initcall.init)
156 __con_initcall_end = .;
162 __start___ftr_fixup = .;
163 __ftr_fixup : { *(__ftr_fixup) }
164 __stop___ftr_fixup = .;
166 . = ALIGN(PAGE_SIZE);
168 __initramfs_start = .;
183 . = ALIGN(PAGE_SIZE);
187 /* freed after init ends here */
189 /* Read/write sections */
190 . = ALIGN(PAGE_SIZE);
193 /* The initial task and kernel stack */
198 . = ALIGN(PAGE_SIZE);
199 .data.page_aligned : {
200 *(.data.page_aligned)
203 .data.cacheline_aligned : {
204 *(.data.cacheline_aligned)
208 *(.data .data.rel* .toc1)
220 . = ALIGN(PAGE_SIZE);
224 . = ALIGN(PAGE_SIZE);
226 __initramfs_start = .;
252 . = ALIGN(PAGE_SIZE);