On Thu, Dec 13, 2012 at 03:24:08PM +0100, Richard Genoud wrote: > 2012/12/13 Marek Vasut <ma...@denx.de>: > > Dear Tom Rini, > > > > [...] > > > >> Note that we don't use --gc-sections on all archs so I'm not sure we > >> discard the unused VFAT functions on say ARM. > > > > Valid point, Albert? > > > > Best regards, > > Marek Vasut > > I check and the code is discarded (on ARM at91sam9x5ek). > This is the case because the function to discard are all in the same > file (fat.c or fat_write.c). > The compiler will discard unused function with -Os. (but not with -O0)
Thanks for checking. -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot