• Masahiro Yamada's avatar
    modpost: continue even with unknown relocation type · 8e86ebef
    Masahiro Yamada authored
    
    
    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>
    8e86ebef
modpost.c 58.4 KB