• Sam Ravnborg's avatar
    kbuild: try harder to find symbol names in modpost · 9ad21c3f
    Sam Ravnborg authored
    The relocation record sometimes contained an address
    which was not an exactly match for a symbol.
    
    Implment some simple logic such that if there
    is a symbol within 20 bytes of the address contained
    in the relocation record then print the name of this
    symbol.
    
    With this change modpost could find symbol names
    for the remaining .init.text symbols in my
    allyesconfig build for x86_64.
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    9ad21c3f
modpost.c 43.7 KB