summaryrefslogtreecommitdiff
path: root/arch/parisc/boot/compressed/vmlinux.scr
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2017-08-20 11:52:22 +0300
committerHelge Deller <deller@gmx.de>2017-08-22 17:34:35 +0300
commit2f3c7b8137ef6a3f90850d7cb5dbd05d8940403a (patch)
treea299bacc7cd759cb2ab46cc280260f043d35d3d9 /arch/parisc/boot/compressed/vmlinux.scr
parente35a2ce692821563583fa8b11ddf4acb24e54580 (diff)
downloadlinux-2f3c7b8137ef6a3f90850d7cb5dbd05d8940403a.tar.xz
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 = .;
+ }
+}