]> git.baikalelectronics.ru Git - kernel.git/commit
s390/decompressor: swap .text and .rodata.compressed sections
authorVasily Gorbik <gor@linux.vnet.ibm.com>
Wed, 10 Jan 2018 11:20:15 +0000 (12:20 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 23 Jan 2018 06:36:49 +0000 (07:36 +0100)
commit6594b939c188c7c0f7a0e7dde58a41e4c18874e1
tree286d39f396f32355f60f70edef9ef1ee11885ecb
parent5c62d4ff00c420e873e9d5c88d35785daa648e9c
s390/decompressor: swap .text and .rodata.compressed sections

.rodata.compressed section contains compressed linux image and is
quite large. By swapping text and rodata.compressed sections, the
decompressor code ends up between 0x11000 and 0x100000 addresses,
which makes it easier:
- to distinguish the decompressor phase from decompressed code (which
lives above 0x100000, except for small startup_continue),
- define break points which don't intersect with the main kernel image
later.

Signed-off-by: Vasily Gorbik <gor@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/boot/compressed/vmlinux.lds.S