On Dunnersdag 10 Februar 2005 17:51, Christoph Hellwig wrote:
> Linking it into vmlinux would increase vmlinux size, which is exactly
> what the Kerntypes approach is trying to avoid.

Well, building the whole kernel with -gstabs or similar will enlarge
the binary by factor ten or more, which should definitely be avoided.

The kerntypes.o file is very small compared to vmlinux, so it doesn't
hurt much to link them together. Also, the debug information is stripped
out of the zImage file and therefore doesn't affect many uses at all.

OTOH, it should also be possible to just drop the debug information
in the vmlinux link step and create a separate binary with only the debug
data from the same input files, using a different linker script.

        Arnd <><


Attachment: pgpIW5q1q6Qe7.pgp
Description: signature

Reply via email to