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>
8 OUTPUT_FORMAT("elf64-s390", "elf64-s390", "elf64-s390")
9 OUTPUT_ARCH(s390:64-bit)
29 *(.rodata) /* read-only data */
45 * This is the BSS section of the decompressor and not of the decompressed Linux kernel.
46 * It will consume place in the decompressor's image.
55 * Stacks for the decompressor
58 _dump_info_stack_start = .;
60 _dump_info_stack_end = .;
69 * uncompressed image info used by the decompressor it should match
70 * struct vmlinux_info. It comes from .vmlinux.info section of
71 * uncompressed vmlinux in a form of info.o
79 .decompressor.syms : {
80 . += 1; /* make sure we have \0 before the first entry */
82 _decompressor_syms_start = .;
84 _decompressor_syms_end = .;
87 #ifdef CONFIG_KERNEL_UNCOMPRESSED
92 .rodata.compressed : {
93 _compressed_start = .;
94 *(.vmlinux.bin.compressed)
101 /* Sections to be discarded */