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

From: Valdis . Kletnieks
Date: Tue Jul 01 2008 - 18:59:58 EST


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: pgp00000.pgp
Description: PGP signature