encaps kernel does not strip .note/.comment?

Keith Owens (kaos@ocs.com.au)
Fri, 31 Jan 1997 23:28:21 +1100


When encaps is used, arch/i386/boot/compressed/Makefile does not strip
the .note and .comment sections from vmlinux to build $tmppiggy. When
encaps is not used these sections are stripped first. Even with most
of the code compiled as modules, there is still approx 10K of data in
these sections in vmlinux. Should the .note and .comment sections be
stripped when using encaps?

Fortunately these sections compress very well, it only adds about 32
bytes to zImage on my configuration.