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 */
41 * .dma section for code, data, ex_table that need to stay below 2 GB,
42 * even when the kernel is relocate: above 2 GB.
54 _start_dma_ex_table = .;
55 KEEP(*(.dma.ex_table))
56 _stop_dma_ex_table = .;
68 * This is the BSS section of the decompressor and not of the decompressed Linux kernel.
69 * It will consume place in the decompressor's image.
78 * Stacks for the decompressor
81 _dump_info_stack_start = .;
83 _dump_info_stack_end = .;
92 * uncompressed image info used by the decompressor it should match
93 * struct vmlinux_info. It comes from .vmlinux.info section of
94 * uncompressed vmlinux in a form of info.o
102 .decompressor.syms : {
103 . += 1; /* make sure we have \0 before the first entry */
105 _decompressor_syms_start = .;
106 *(.decompressor.syms)
107 _decompressor_syms_end = .;
110 #ifdef CONFIG_KERNEL_UNCOMPRESSED
115 .rodata.compressed : {
116 _compressed_start = .;
117 *(.vmlinux.bin.compressed)
124 /* Sections to be discarded */