1 /* ld script to make s390 Linux kernel
2 * Written by Martin Schwidefsky (schwidefsky@de.ibm.com)
3 */
4 OUTPUT_FORMAT("elf32-s390", "elf32-s390", "elf32-s390")
5 OUTPUT_ARCH(s390)
6 ENTRY(_start)
7 SECTIONS
8 {
9 . = 0x00000000;
10 _text = .; /* Text and read-only data */
11 .text : {
12 *(.text)
13 *(.fixup)
14 *(.gnu.warning)
15 } = 0x0700
16 .text.lock : { *(.text.lock) } /* out-of-line lock text */
17 .rodata : { *(.rodata) }
18 .kstrtab : { *(.kstrtab) }
19
20 . = ALIGN(16); /* Exception table */
21 __start___ex_table = .;
22 __ex_table : { *(__ex_table) }
23 __stop___ex_table = .;
24
25 __start___ksymtab = .; /* Kernel symbol table */
26 __ksymtab : { *(__ksymtab) }
27 __stop___ksymtab = .;
28
29 _etext = .; /* End of text section */
30
31 .data : { /* Data */
32 *(.data)
33 CONSTRUCTORS
34 }
35
36 _edata = .; /* End of data section */
37
38 . = ALIGN(8192); /* init_task */
39 .data.init_task : { *(.data.init_task) }
40
41 . = ALIGN(4096); /* Init code and data */
42 __init_begin = .;
43 .text.init : { *(.text.init) }
44 .data.init : { *(.data.init) }
45 . = ALIGN(4096);
46 __init_end = .;
47
48 __setup_start = .;
49 .setup.init : { *(.setup.init) }
50 __setup_end = .;
51 __initcall_start = .;
52 .initcall.init : { *(.initcall.init) }
53 __initcall_end = .;
54 . = ALIGN(4096);
55 __init_end = .;
56
57 . = ALIGN(32);
58 .data.cacheline_aligned : { *(.data.cacheline_aligned) }
59
60 . = ALIGN(4096);
61 .data.page_aligned : { *(.data.idt) }
62
63
64 __bss_start = .; /* BSS */
65 .bss : {
66 *(.bss)
67 }
68 _end = . ;
69
70 /* Stabs debugging sections. */
71 .stab 0 : { *(.stab) }
72 .stabstr 0 : { *(.stabstr) }
73 .stab.excl 0 : { *(.stab.excl) }
74 .stab.exclstr 0 : { *(.stab.exclstr) }
75 .stab.index 0 : { *(.stab.index) }
76 .stab.indexstr 0 : { *(.stab.indexstr) }
77 .comment 0 : { *(.comment) }
78 }
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.