1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <asm-generic/vmlinux.lds.h>
3 #include <asm/vmlinux.lds.h>
5 OUTPUT_FORMAT("elf64-s390", "elf64-s390", "elf64-s390")
6 OUTPUT_ARCH(s390:64-bit)
26 *(.rodata) /* read-only data */
37 * .dma section for code, data, ex_table that need to stay below 2 GB,
38 * even when the kernel is relocate: above 2 GB.
50 _start_dma_ex_table = .;
51 KEEP(*(.dma.ex_table))
52 _stop_dma_ex_table = .;
54 .dma.data : { *(.dma.data) }
62 * This is the BSS section of the decompressor and not of the decompressed Linux kernel.
63 * It will consume place in the decompressor's image.
75 * uncompressed image info used by the decompressor it should match
76 * struct vmlinux_info. It comes from .vmlinux.info section of
77 * uncompressed vmlinux in a form of info.o
85 .decompressor.syms : {
86 . += 1; /* make sure we have \0 before the first entry */
88 _decompressor_syms_start = .;
90 _decompressor_syms_end = .;
93 #ifdef CONFIG_KERNEL_UNCOMPRESSED
98 .rodata.compressed : {
99 _compressed_start = .;
100 *(.vmlinux.bin.compressed)
107 /* Sections to be discarded */