aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/Kconfig
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2022-01-19 19:26:37 +0100
committerHeiko Carstens <hca@linux.ibm.com>2022-01-24 09:10:37 +0100
commitf3b7e73b2c6619884351a3a0a7468642f852b8a2 (patch)
tree3934d5be3e4a58c1706d9985b2ca9fb66fe2524f /arch/s390/Kconfig
parents390/uaccess: fix compile error (diff)
downloadlinux-dev-f3b7e73b2c6619884351a3a0a7468642f852b8a2.tar.xz
linux-dev-f3b7e73b2c6619884351a3a0a7468642f852b8a2.zip
s390/module: fix loading modules with a lot of relocations
If the size of the PLT entries generated by apply_rela() exceeds 64KiB, the first ones can no longer reach __jump_r1 with brc. Fix by using brcl. An alternative solution is to add a __jump_r1 copy after every 64KiB, however, the space savings are quite small and do not justify the additional complexity. Fixes: f19fbd5ed642 ("s390: introduce execute-trampolines for branches") Cc: stable@vger.kernel.org Reported-by: Andrea Righi <andrea.righi@canonical.com> Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Cc: Vasily Gorbik <gor@linux.ibm.com> Cc: Christian Borntraeger <borntraeger@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/Kconfig')
0 files changed, 0 insertions, 0 deletions