diff options
| author | Masahiro Yamada <masahiroy@kernel.org> | 2023-06-20 21:05:19 +0900 |
|---|---|---|
| committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-06-25 23:12:20 +0900 |
| commit | b31db651f745604371e4d3304f5b16fc3d9d0110 (patch) | |
| tree | 36d60c81ffa78e5dafc2c069ad20653226030ab4 /lib/test-string_helpers.c | |
| 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>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
