Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [v2 3/3] ARM: tegra: Unify Device tree board files | Date | Tue, 12 Feb 2013 22:25:58 +0000 |
| |
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
| |