[U-Boot] [PATCH] Add gc-section support for ARM

Charles Manning
2012-05-14T21:01:30Z

On Monday 14 May 2012 17:15:50 Mike Frysinger wrote:
> On Wednesday 02 May 2012 21:37:51 Charles Manning wrote:
> > Seems odd that this hasn't been done yet.
> > Shaves 5k off an omap overo build.
>
> my understanding is that it doesn't work for some

It won't work for people that don't set up their lds properly.

>
> > +PLATFORM_RELFLAGS += -ffunction-sections
>
> where's the -fdata-sections ?

I tried that once before and could not get that to work with u-boot. I figure
doing just the function sections is better than nothing.