This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Link-Time Optimizations


On Tue, 08 Nov 2005 07:35:30 +0100, Javier Cabezas Rodríguez wrote:
> -  Dead Code and Data elimination, achieving up to 25% code size reduction.

The gnu linker can do this, look at --gc-sections and
-ffunction-sections/-fdata-sections.

You have to be careful here though. It can interfere with many programs
(eg ones that use libglade)

thanks -mike


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]