[OLPC-devel] Flash driver status.
David Woodhouse
dwmw2 at infradead.org
Mon May 22 21:18:47 EDT 2006
On Wed, 2006-05-17 at 14:02 -0300, Marcelo Tosatti wrote:
> - -ffunction-sections -gc-sections (GCC garbage collect unused
> functions) shrinks ~= 50k (dwmw2).
If we dump the whole of jffs2 into one file and build it with
-funit-at-a-time, it shrinks by about 4KiB on PowerPC, 1.5KiB on i386.
I wonder how much there is to be gained by following that approach
elsewhere.
It'd be a lot nicer if we could tell the compiler that everything is
supposed to be static, instead of having to play with the source code.
http://david.woodhou.se/jffs2-all-in-one.patch
--
dwmw2
More information about the Devel
mailing list