aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/boot/compressed/vmlinux.scr
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2017-08-20 10:52:22 +0200
committerHelge Deller <deller@gmx.de>2017-08-22 16:34:35 +0200
commit2f3c7b8137ef6a3f90850d7cb5dbd05d8940403a (patch)
treea299bacc7cd759cb2ab46cc280260f043d35d3d9 /arch/parisc/boot/compressed/vmlinux.scr
parentparisc: Enable UBSAN support (diff)
downloadlinux-dev-2f3c7b8137ef6a3f90850d7cb5dbd05d8940403a.tar.xz
linux-dev-2f3c7b8137ef6a3f90850d7cb5dbd05d8940403a.zip
parisc: Add core code for self-extracting kernel
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/boot/compressed/vmlinux.scr')
-rw-r--r--arch/parisc/boot/compressed/vmlinux.scr10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/parisc/boot/compressed/vmlinux.scr b/arch/parisc/boot/compressed/vmlinux.scr
new file mode 100644
index 000000000000..dac2d142bcfa
--- /dev/null
+++ b/arch/parisc/boot/compressed/vmlinux.scr
@@ -0,0 +1,10 @@
+SECTIONS
+{
+ .rodata.compressed : {
+ input_len = .;
+ LONG(input_data_end - input_data) input_data = .;
+ *(.data)
+ output_len = . - 4; /* can be at unaligned address */
+ input_data_end = .;
+ }
+}