diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-06-20 15:05:19 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-06-25 17:12:20 +0300 |
commit | b31db651f745604371e4d3304f5b16fc3d9d0110 (patch) | |
tree | 36d60c81ffa78e5dafc2c069ad20653226030ab4 /fs/devpts | |
parent | 25a21fbb934a0d989e1858f83c2ddf4cfb2ebe30 (diff) | |
download | linux-b31db651f745604371e4d3304f5b16fc3d9d0110.tar.xz |
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>
Diffstat (limited to 'fs/devpts')
0 files changed, 0 insertions, 0 deletions