[U-Boot] [PATCH 1/2] FAT: remove ifdefs to make the code more readable

Richard Genoud richard.genoud at gmail.com
Thu Dec 13 14:15:11 CET 2012


2012/12/13 Tom Rini <trini at ti.com>:
> 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.
>
I tested it on at91sam9x5ek, and the vfat functions are not present in
the System.map.

The problem is in my commit message: the linker doesn"t have anything
to do with that because all discarded functions are static.

So I think it's ok on all archs (but maybe not with -O0)

Richard


More information about the U-Boot mailing list