Files
linux/arch/s390/kernel
Ilya Leoshkevich f3b7e73b2c 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: f19fbd5ed6 ("s390: introduce execute-trampolines for branches")
Cc: [email protected]
Reported-by: Andrea Righi <[email protected]>
Signed-off-by: Ilya Leoshkevich <[email protected]>
Reviewed-by: Heiko Carstens <[email protected]>
Cc: Vasily Gorbik <[email protected]>
Cc: Christian Borntraeger <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
2022-01-24 09:10:37 +01:00
..
2021-10-11 20:55:58 +02:00
…
…
2021-08-05 14:10:53 +02:00
2021-12-16 19:58:07 +01:00
2021-12-13 12:04:45 -06:00
…
2021-01-19 12:29:26 +01:00
2021-08-03 14:31:40 +02:00
2021-11-18 17:25:35 +01:00
2020-06-29 16:31:46 +02:00
…
2021-07-08 15:37:28 +02:00