Messages in this thread | | | From | Masahiro Yamada <> | Subject | [PATCH 0/7] modpost: fix section mismatch detection for ARM | Date | Thu, 1 Jun 2023 21:09:54 +0900 |
| |
addend_arm_rel() is completely, entirely bogus.
Fix the code, and also catch more section mismatches.
I confirmed this series is cleanly applicable to linux-next 20230601.
Masahiro Yamada (7): modpost: fix section mismatch message for R_ARM_ABS32 modpost: fix section mismatch message for R_ARM_{PC24,CALL,JUMP24} modpost: detect section mismatch for R_ARM_{MOVW_ABS_NC,MOVT_ABS} modpost: refactor find_fromsym() and find_tosym() modpost: detect section mismatch for R_ARM_THM_{MOVW_ABS_NC,MOVT_ABS} modpost: fix section_mismatch message for R_ARM_THM_{CALL,JUMP24,JUMP19} modpost: detect section mismatch for R_ARM_REL32
scripts/mod/modpost.c | 193 ++++++++++++++++++++++++++++-------------- 1 file changed, 129 insertions(+), 64 deletions(-)
-- 2.39.2
| |