Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
1844c9bc MS |
2 | #include <asm-generic/vmlinux.lds.h> |
3 | ||
1844c9bc MS |
4 | OUTPUT_FORMAT("elf64-s390", "elf64-s390", "elf64-s390") |
5 | OUTPUT_ARCH(s390:64-bit) | |
1844c9bc MS |
6 | |
7 | ENTRY(startup) | |
8 | ||
9 | SECTIONS | |
10 | { | |
11 | /* Be careful parts of head_64.S assume startup_32 is at | |
12 | * address 0. | |
13 | */ | |
14 | . = 0; | |
15 | .head.text : { | |
16 | _head = . ; | |
17 | HEAD_TEXT | |
18 | _ehead = . ; | |
19 | } | |
20 | .rodata.compressed : { | |
21 | *(.rodata.compressed) | |
22 | } | |
23 | .text : { | |
24 | _text = .; /* Text */ | |
25 | *(.text) | |
26 | *(.text.*) | |
27 | _etext = . ; | |
28 | } | |
29 | .rodata : { | |
30 | _rodata = . ; | |
31 | *(.rodata) /* read-only data */ | |
32 | *(.rodata.*) | |
33 | _erodata = . ; | |
34 | } | |
35 | .data : { | |
36 | _data = . ; | |
37 | *(.data) | |
38 | *(.data.*) | |
39 | _edata = . ; | |
40 | } | |
41 | . = ALIGN(256); | |
42 | .bss : { | |
43 | _bss = . ; | |
44 | *(.bss) | |
45 | *(.bss.*) | |
46 | *(COMMON) | |
47 | . = ALIGN(8); /* For convenience during zeroing */ | |
48 | _ebss = .; | |
49 | } | |
50 | _end = .; | |
51 | } |