On Mar 14, 2011, at 1:27 AM, Wolfgang Denk wrote: > Dear Kumar Gala, > > In message <bcf2a946-e0cc-43f6-a875-a0e5a0de7...@kernel.crashing.org> you > wrote: >> >>>> We don't use disable_law in the SPL code so only build it if >>>> !CONFIG_NAND_SPL. >>> >>> Does -ffunction-sections / --gc-sections not catch this automatically? >> >> Doesn't appear to, but not sure if the NAND makefiles are utilizing those >> options. > > Can you please verify this first? > > At first glace it looks as if the compilation was done with > -ffunction-sections and -fdata-sections, but I don't see --gc-sections > on the linker command line
commit 8aba9dceebb14144e07d19593111ee3a999c37fc Author: Nobuhiro Iwamatsu <iwama...@nigauri.org> Date: Thu Jan 6 10:23:54 2011 +0900 Divides variable of linker flags to LDFLAGS-u-boot and LDFLAGS However, I think this is fixed via: http://patchwork.ozlabs.org/patch/84010/ Which we need anyways, because Haiying's patch fixes nand boot in general. - k _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot