1/* SPDX-License-Identifier: GPL-2.0 */ 2#include <asm-generic/vmlinux.lds.h> 3 4OUTPUT_FORMAT("elf64-s390", "elf64-s390", "elf64-s390") 5OUTPUT_ARCH(s390:64-bit) 6 7ENTRY(startup) 8 9SECTIONS 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} 52