On Wed, 02 Jul 2008 02:33:48 +0200, Denys Vlasenko said: > The purpose of these patches is to make kernel buildable > with "gcc -ffunction-sections -fdata-sections". > > Newer gcc and binutils can do dead code and data removal > at link time. It is achieved using combination of > -ffunction-sections -fdata-sections options for gcc and > --gc-sections for ld. Interesting idea. Do you happen to have before-and-after 'size vmlinux' numbers to show how much space is actually reclaimed?
Attachment:
pgpVfB20DZkWF.pgp
Description: PGP signature