Re: [PATCH] Use ld's garbage collection feature

From: David Woodhouse
Date: Mon Jun 05 2006 - 10:47:28 EST


On Mon, 2006-06-05 at 11:36 -0300, Marcelo Tosatti wrote:
> On Mon, Jun 05, 2006 at 11:03:42AM +0100, David Woodhouse wrote:
> > On Sun, 2006-06-04 at 21:31 -0300, Marcelo Tosatti wrote:
> > > +cflags-$(CONFIG_GCSECTIONS) += -ffunction-sections
> >
> > Any reason you didn't also use -fdata-sections?
>
> Not really - will try.

Btw, I filed two gcc bugs for the (first) things which prevent us from
building stuff like filesystems with something like
'gcc -fwhole-program --combine fs/jffs2/*.c'

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27898
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27899

--
dwmw2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/