1
2
3#include <asm-generic/vmlinux.lds.h>
4
5OUTPUT_FORMAT("elf64-s390", "elf64-s390", "elf64-s390")
6OUTPUT_ARCH(s390:64-bit)
7
8ENTRY(purgatory_start)
9
10SECTIONS
11{
12 . = 0;
13 .head.text : {
14 _head = . ;
15 HEAD_TEXT
16 _ehead = . ;
17 }
18 .text : {
19 _text = .;
20 *(.text)
21 *(.text.*)
22 _etext = . ;
23 }
24 .rodata : {
25 _rodata = . ;
26 *(.rodata)
27 *(.rodata.*)
28 _erodata = . ;
29 }
30 .data : {
31 _data = . ;
32 *(.data)
33 *(.data.*)
34 _edata = . ;
35 }
36
37 . = ALIGN(256);
38 .bss : {
39 _bss = . ;
40 *(.bss)
41 *(.bss.*)
42 *(COMMON)
43 . = ALIGN(8);
44 _ebss = .;
45 }
46 _end = .;
47
48
49 /DISCARD/ : {
50 *(.eh_frame)
51 *(*__ksymtab*)
52 *(___kcrctab*)
53 }
54}
55