Skip to content
Commit 8e86ebef authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

modpost: continue even with unknown relocation type



Currently, unknown relocation types are just skipped.

The value of r_addend is only needed to get the symbol name in case
is_valid_name(elf, sym) returns false.

Even if we do not know how to calculate r_addend, we should continue.
At worst, we will get "(unknown)" as the symbol name, but it is better
than failing to detect section mismatches.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 8aa00e2c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment