lkml.org 
[lkml]   [2023]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/7] modpost: fix section mismatch detection for ARM
Date
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

\
 
 \ /
  Last update: 2023-06-01 14:10    [W:0.233 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site