[patch] Check for -Wl,--gc-sections
hughsient at gmail.com
Mon Jun 18 09:25:42 PDT 2007
On Mon, 2007-06-18 at 17:32 +0200, Alexander Larsson wrote:
> 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.
Yes, adding this as a CFLAG shaves another 46k off dbus-daemon.
More information about the dbus