diff options
| author | Masahiro Yamada <masahiroy@kernel.org> | 2023-06-01 21:09:58 +0900 |
|---|---|---|
| committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-06-02 22:45:59 +0900 |
| commit | b1a9651d48b42f3eddf095123c09f93e4df23060 (patch) | |
| tree | 43ca17aae923e268087200f2d627d8a5cf0fdc13 /scripts/objdiff | |
| parent | modpost: detect section mismatch for R_ARM_{MOVW_ABS_NC,MOVT_ABS} (diff) | |
| download | linux-b1a9651d48b42f3eddf095123c09f93e4df23060.tar.gz linux-b1a9651d48b42f3eddf095123c09f93e4df23060.zip | |
modpost: refactor find_fromsym() and find_tosym()
find_fromsym() and find_tosym() are similar - both of them iterate
in the .symtab section and return the nearest symbol.
The difference between them is that find_tosym() allows a negative
distance, but the distance must be less than 20.
Factor out the common part into find_nearest_sym().
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
