1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <asm-generic/vmlinux.lds.h>
3 #include <asm/vmlinux.lds.h>
4 #include <asm/thread_info.h>
9 OUTPUT_FORMAT("elf64-s390", "elf64-s390", "elf64-s390")
10 OUTPUT_ARCH(s390:64-bit)
38 *(.rodata) /* read-only data */
54 * This is the BSS section of the decompressor and not of the decompressed Linux kernel.
55 * It will consume place in the decompressor's image.
64 * Stacks for the decompressor
67 _dump_info_stack_start = .;
69 _dump_info_stack_end = .;
78 * uncompressed image info used by the decompressor it should match
79 * struct vmlinux_info. It comes from .vmlinux.info section of
80 * uncompressed vmlinux in a form of info.o
88 .decompressor.syms : {
89 . += 1; /* make sure we have \0 before the first entry */
91 _decompressor_syms_start = .;
93 _decompressor_syms_end = .;
96 #ifdef CONFIG_KERNEL_UNCOMPRESSED
101 .rodata.compressed : {
102 _compressed_start = .;
103 *(.vmlinux.bin.compressed)
107 #define SB_TRAILER_SIZE 32
108 /* Trailer needed for Secure Boot */
109 . += SB_TRAILER_SIZE; /* make sure .sb.trailer does not overwrite the previous section */
110 . = ALIGN(4096) - SB_TRAILER_SIZE;
115 QUAD(0x000000207a49504c)
119 /* Sections to be discarded */