[patch] Check for -Wl,--gc-sections

Alexander Larsson alexl at redhat.com
Mon Jun 18 08:32:38 PDT 2007


On Mon, 2007-06-18 at 10:45 -0400, Havoc Pennington wrote:
> Richard Hughes wrote:
> > Havoc mentioned I should try using --gc-sections to reduce the size of
> > the setuid binary.
> > 
> 
> I think you need a compiler flag to put each function in a separate 
> section also, at least to get maximum benefit.

-ffunction-sections




More information about the dbus mailing list