aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/boot/compressed/vmlinux.scr
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-07-11 13:21:19 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-07-11 13:21:19 -0400
commit07e88e1bfc128681a80578724fde6a872f413862 (patch)
tree7e85e26152bcc277d6e2e288aac155f155ce5c4e /arch/sh/boot/compressed/vmlinux.scr
parentdf8ce2595fbac8b046322fce9df61ce1cf8ddf62 (diff)
sh: bzip2/lzma zImage support.
This plugs in bzip2 and lzma support for zImages. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boot/compressed/vmlinux.scr')
-rw-r--r--arch/sh/boot/compressed/vmlinux.scr10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/sh/boot/compressed/vmlinux.scr b/arch/sh/boot/compressed/vmlinux.scr
new file mode 100644
index 00000000000..f02382ae5c4
--- /dev/null
+++ b/arch/sh/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;
+ input_data_end = .;
+ }
+}