summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2018-06-27 14:58:46 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-07-02 11:24:57 +0200
commit94cbc0ea163f58ec3ce167a1ccbdf55ff1e88111 (patch)
treefc4aa53248c4b80328aed578df18626233d98b31 /arch/s390/kernel/vmlinux.lds.S
parent4778dc08ef99825d2931d44888fda8d49319d93a (diff)
downloadlinux-stable-94cbc0ea163f58ec3ce167a1ccbdf55ff1e88111.tar.gz
linux-stable-94cbc0ea163f58ec3ce167a1ccbdf55ff1e88111.tar.bz2
linux-stable-94cbc0ea163f58ec3ce167a1ccbdf55ff1e88111.zip
s390: put expoline execute-trampolines into .text section
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>
Diffstat (limited to 'arch/s390/kernel/vmlinux.lds.S')
-rw-r--r--arch/s390/kernel/vmlinux.lds.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kernel/vmlinux.lds.S b/arch/s390/kernel/vmlinux.lds.S
index 31f530b8a1b3..51adfe251bcd 100644
--- a/arch/s390/kernel/vmlinux.lds.S
+++ b/arch/s390/kernel/vmlinux.lds.S
@@ -47,6 +47,7 @@ SECTIONS
KPROBES_TEXT
IRQENTRY_TEXT
SOFTIRQENTRY_TEXT
+ *(.text.*_indirect_*)
*(.fixup)
*(.gnu.warning)
} :text = 0x0700