2 * Written by Martin Schwidefsky (schwidefsky@de.ibm.com)
5 #include <asm-generic/vmlinux.lds.h>
7 OUTPUT_FORMAT("elf64-s390", "elf64-s390", "elf64-s390")
8 OUTPUT_ARCH(s390:64-bit)
14 _text = .; /* Text and read-only data */
21 _etext = .; /* End of text section */
23 . = ALIGN(16); /* Exception table */
24 __start___ex_table = .;
25 __ex_table : { *(__ex_table) }
26 __stop___ex_table = .;
30 #ifdef CONFIG_SHARED_KERNEL
31 . = ALIGN(1048576); /* VM shared segments are 1MB aligned */
33 _eshared = .; /* End of shareable data */
43 .data_nosave : { *(.data.nosave) }
48 .data.page_aligned : { *(.data.idt) }
51 .data.cacheline_aligned : { *(.data.cacheline_aligned) }
53 _edata = .; /* End of data section */
55 . = ALIGN(8192); /* init_task */
56 .data.init_task : { *(.data.init_task) }
58 /* will be freed after init */
59 . = ALIGN(4096); /* Init code and data */
61 .init.text : { *(.init.text) }
62 .init.data : { *(.init.data) }
65 .init.setup : { *(.init.setup) }
79 __initramfs_start = .;
80 .init.ramfs : { *(.init.initramfs) }
84 .data.percpu : { *(.data.percpu) }
88 /* freed after init ends here */
90 __bss_start = .; /* BSS */
96 /* Sections to be discarded */
103 /* Stabs debugging sections. */
104 .stab 0 : { *(.stab) }
105 .stabstr 0 : { *(.stabstr) }
106 .stab.excl 0 : { *(.stab.excl) }
107 .stab.exclstr 0 : { *(.stab.exclstr) }
108 .stab.index 0 : { *(.stab.index) }
109 .stab.indexstr 0 : { *(.stab.indexstr) }
110 .comment 0 : { *(.comment) }