Skip to content
Snippets Groups Projects
Commit b31db651 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 25a21fbb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment