]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: do section mismatch check on full vmlinux
authorSam Ravnborg <sam@ravnborg.org>
Tue, 17 Jul 2007 08:54:06 +0000 (10:54 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Tue, 17 Jul 2007 08:54:06 +0000 (10:54 +0200)
commit4b45e5949401a521a1f8c7a4d0d9e15325420439
tree2019e9c571c89e3101be86777d28f3ddeba67b79
parente72d0ee81c10baebcfc8a45a707bcbc7165541b8
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: Sam Ravnborg <sam@ravnborg.org>
Makefile
scripts/Makefile.modpost
scripts/mod/modpost.c