summaryrefslogtreecommitdiff
path: root/arch/s390/boot/compressed/vmlinux.scr.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/boot/compressed/vmlinux.scr.lds.S')
-rw-r--r--arch/s390/boot/compressed/vmlinux.scr.lds.S11
1 files changed, 11 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 000000000000..42a242597f34
--- /dev/null
+++ b/arch/s390/boot/compressed/vmlinux.scr.lds.S
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+SECTIONS
+{
+ .rodata.compressed : {
+ input_len = .;
+ LONG(input_data_end - input_data) input_data = .;
+ *(.data)
+ output_len = . - 4;
+ input_data_end = .;
+ }
+}