Merge branch 'mm-rst' into docs-next
[sfrench/cifs-2.6.git] / arch / s390 / boot / compressed / vmlinux.lds.S
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <asm-generic/vmlinux.lds.h>
3
4 OUTPUT_FORMAT("elf64-s390", "elf64-s390", "elf64-s390")
5 OUTPUT_ARCH(s390:64-bit)
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         .text : {
21                 _text = .;      /* Text */
22                 *(.text)
23                 *(.text.*)
24                 _etext = . ;
25         }
26         .rodata.compressed : {
27                 *(.rodata.compressed)
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
52         /* Sections to be discarded */
53         /DISCARD/ : {
54                 *(.eh_frame)
55                 *(__ex_table)
56                 *(*__ksymtab*)
57         }
58 }