s390: put expoline execute-trampolines into .text section
authorVasily Gorbik <gor@linux.ibm.com>
Wed, 27 Jun 2018 12:58:46 +0000 (14:58 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 2 Jul 2018 09:24:57 +0000 (11:24 +0200)
Currently none of the vmlinux linker script patterns in .text section
match expoline execute-trampolines, and they end up as separate
sections:
.text.__s390_indirect_jump_r1,
.text.__s390x_indirect_jump_r1use_r9,
.text.__s390x_indirect_branch_4_1use_6, ...

Add a pattern to match them all.

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>
arch/s390/kernel/vmlinux.lds.S

index 31f530b..51adfe2 100644 (file)
@@ -47,6 +47,7 @@ SECTIONS
                KPROBES_TEXT
                IRQENTRY_TEXT
                SOFTIRQENTRY_TEXT
+               *(.text.*_indirect_*)
                *(.fixup)
                *(.gnu.warning)
        } :text = 0x0700