• S
    kbuild: do section mismatch check on full vmlinux · 741f98fe
    Sam Ravnborg 提交于
    Previously we did do the check on the .o files used to link
    vmlinux but that failed to find questionable references across
    the .o files.
    Create a dedicated vmlinux.o file used only for section mismatch checks
    that uses the defualt linker script so section does not get renamed.
    
    The vmlinux.o may later be used as part of the the final link of vmlinux
    but for now it is used fo section mismatch only.
    For a defconfig build this is instant but for an allyesconfig this
    add two minutes to a full build (that anyways takes ~2 hours).
    Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
    741f98fe
Makefile.modpost 4.4 KB