Skip to content
Commit 741f98fe authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

kbuild: do section mismatch check on full vmlinux



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: default avatarSam Ravnborg <sam@ravnborg.org>
parent 1e29a706
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment