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