[v2 3/3] ARM: tegra: Unify Device tree board files

Arnd Bergmann arnd at arndb.de
Tue Feb 12 17:25:58 EST 2013


On Tuesday 12 February 2013, Stephen Warren wrote:
> I believe U-Boot enabled -ffunction-sections -fdata-sections or similar
> (recently?) to get this kind of behaviour. I wonder why the kernel
> didn't need that. Perhaps -O2 is more aggressive (within a file at
> least) than I thought.

-ffunction-sections works across files, while the trick I described
only works on file static symbols. David Woodhouse at some point
had a working kernel build with -ffunction-sections but for some
reason that never got merged.

	Arnd



More information about the linux-arm-kernel mailing list