
On Wed, Aug 08, 2012 at 07:24:13PM -0700, Tyler Olmstead wrote:
Remove linker command line options from the SPL makefile that force the inclusion of unreferenced command code from linked object files. As commands are not used in the SPL, these options resulted in an unnecessary increase in the image size, in addition to introducing the possibility of tricky link errors in the case where the command code contained symbols that were not resolved by linking in the limited objects compiled in the SPL build.
Signed-off-by: Tyler Olmstead tyler.j.olmstead@gmail.com
OK, I've done some more poking at the specific problem I found and, well, we're doing everything right and I don't have a solution, but I think this patch moves us forward. Based on what I'm seeing so far, new U_BOOT_CMDs would be removed correctly, including strings. Or be fixed when I fix the current problem.
Acked-by: Tom Rini trini@ti.com