aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/boot/compressed/vmlinux.scr
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/boot/compressed/vmlinux.scr')
-rw-r--r--arch/x86_64/boot/compressed/vmlinux.scr9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/x86_64/boot/compressed/vmlinux.scr b/arch/x86_64/boot/compressed/vmlinux.scr
index 1ed9d791f86..bd1429ce193 100644
--- a/arch/x86_64/boot/compressed/vmlinux.scr
+++ b/arch/x86_64/boot/compressed/vmlinux.scr
@@ -1,9 +1,10 @@
SECTIONS
{
- .data : {
+ .text.compressed : {
input_len = .;
- LONG(input_data_end - input_data) input_data = .;
- *(.data)
- input_data_end = .;
+ LONG(input_data_end - input_data) input_data = .;
+ *(.data)
+ output_len = . - 4;
+ input_data_end = .;
}
}