• Russell King's avatar
    ARM: improve module relocation fixup diagnostics · 68e6fad4
    Russell King authored
    Current diagnostics are rather poor when things go wrong:
      ipv6: relocation out of range, section 2 reloc 0 sym 'snmp_mib_free'
    
    Let's include a little more information about the problem:
      ipv6: section 2 reloc 0 sym 'snmp_mib_free': relocation 28 out of range (0xbf0000a4 -> 0xc11b4858)
    
    so that we show exactly what the problem is - not only what type of
    relocation but also the offending address range too.
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    68e6fad4
module.c 8.8 KB