Re: [PATCH 1/23] make section names compatible with -ffunction-sections -fdata-sections

Valdis.Kletnieks
2008-07-01T22:59:55Z

[-- Attachment #1: Type: text/plain, Size: 491 bytes --]

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 #2: Type: application/pgp-signature, Size: 226 bytes --]