• Sam Ravnborg's avatar
    kbuild: Check for undefined symbols in vmlinux · 1d3fa84d
    Sam Ravnborg authored
    At least one bin-utils version for ARM is know to ignore undefined
    symbols when performing the final link of vmlinux.
    Add an explicit check for undefined symbols to catch this.
    The check is made in combination with generating the System.map file
    and the actual algorithm is moved to a small shell script - mksysmap.
    
    External symbols with three leading underscores are ignored - sparc
    uses them for the BTFIXUP logic.
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    1d3fa84d
mksysmap 1.48 KB