diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2018-06-12 21:59:13 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-06-25 10:14:40 +0200 |
commit | b8326bf52e0894004c790183228c1ec18aae7f72 (patch) | |
tree | 71e9b104c9549f5f314da5db4e8cfceef91dbedf /arch/s390/boot/compressed/vmlinux.scr.lds.S | |
parent | s390/decompressor: extend .bss check for early code (diff) | |
download | linux-b8326bf52e0894004c790183228c1ec18aae7f72.tar.xz linux-b8326bf52e0894004c790183228c1ec18aae7f72.zip |
s390/decompressor: allow preprocessor in piggy.o linker script
Rename vmlinux.scr to vmlinux.scr.lds.S and add it to build rules to
enable preprocessor for it.
Also add vmlinux.scr.lds to local .gitignore
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/boot/compressed/vmlinux.scr.lds.S')
-rw-r--r-- | arch/s390/boot/compressed/vmlinux.scr.lds.S | 11 |
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 = .; + } +} |