commit | b31db651f745604371e4d3304f5b16fc3d9d0110 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <masahiroy@kernel.org> | Tue Jun 20 21:05:19 2023 +0900 |
committer | Masahiro Yamada <masahiroy@kernel.org> | Sun Jun 25 23:12:20 2023 +0900 |
tree | 36d60c81ffa78e5dafc2c069ad20653226030ab4 | |
parent | 25a21fbb934a0d989e1858f83c2ddf4cfb2ebe30 [diff] |
modpost: factor out inst location calculation to section_rel() All the addend_*_rel() functions calculate the instruction location in the same way. Factor out the similar code to the caller. Squash reloc_location() too. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>