1 /* SPDX-License-Identifier: GPL-2.0 */ 2 3 #include <asm-generic/vmlinux.lds.h> 4 5 OUTPUT_FORMAT("elf64-s390", "elf64-s390", "elf64-s390") 6 OUTPUT_ARCH(s390:64-bit) 7 8 ENTRY(purgatory_start) 9 10 SECTIONS 11 { 12 . = 0; 13 .head.text : { 14 _head = . ; 15 HEAD_TEXT 16 _ehead = . ; 17 } 18 .text : { 19 _text = .; /* Text */ 20 *(.text) 21 *(.text.*) 22 _etext = . ; 23 } 24 .rodata : { 25 _rodata = . ; 26 *(.rodata) /* read-only data */ 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); /* For convenience during zeroing */ 44 _ebss = .; 45 } 46 _end = .; 47 48 /* Sections to be discarded */ 49 /DISCARD/ : { 50 *(.eh_frame) 51 *(*__ksymtab*) 52 *(___kcrctab*) 53 } 54 }
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.