summaryrefslogtreecommitdiffstats
path: root/arch/s390/boot/compressed/vmlinux.scr.lds.S
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:02:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:02:30 +0000
commit76cb841cb886eef6b3bee341a2266c76578724ad (patch)
treef5892e5ba6cc11949952a6ce4ecbe6d516d6ce58 /arch/s390/boot/compressed/vmlinux.scr.lds.S
parentInitial commit. (diff)
downloadlinux-76cb841cb886eef6b3bee341a2266c76578724ad.tar.xz
linux-76cb841cb886eef6b3bee341a2266c76578724ad.zip
Adding upstream version 4.19.249.upstream/4.19.249
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'arch/s390/boot/compressed/vmlinux.scr.lds.S')
-rw-r--r--arch/s390/boot/compressed/vmlinux.scr.lds.S15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/s390/boot/compressed/vmlinux.scr.lds.S b/arch/s390/boot/compressed/vmlinux.scr.lds.S
new file mode 100644
index 000000000..ff01d18c9
--- /dev/null
+++ b/arch/s390/boot/compressed/vmlinux.scr.lds.S
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+SECTIONS
+{
+ .rodata.compressed : {
+#ifndef CONFIG_KERNEL_UNCOMPRESSED
+ input_len = .;
+ LONG(input_data_end - input_data) input_data = .;
+#endif
+ *(.data)
+#ifndef CONFIG_KERNEL_UNCOMPRESSED
+ output_len = . - 4;
+ input_data_end = .;
+#endif
+ }
+}