Re: [U-Boot] [PATCH] spl: remove forced linking of commands into SPL

2012-08-09 Thread Tyler Olmstead
Thanks Tom. I've been looking at this some too, and while the commands are removed from the build I've been playing with (hawkboard), they seem to not be removed completely from omap3_beagle. This is confusing as both use -ffunction-sections, -fdata-sections, and --gc-sections. I noticed the hawkbo

Re: [U-Boot] [PATCH] spl: remove forced linking of commands into SPL

2012-08-09 Thread Tom Rini
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

Re: [U-Boot] [PATCH] spl: remove forced linking of commands into SPL

2012-08-09 Thread Tom Rini
On Thu, Aug 09, 2012 at 10:37:43AM -0700, Tyler Olmstead wrote: > Hi Tom, > > On Thu, Aug 9, 2012 at 7:35 AM, Tom Rini wrote: > > On 08/08/2012 07:24 PM, Tyler Olmstead wrote: > > > >> Remove linker command line options from the SPL makefile > >> that force the inclusion of unreferenced command c

Re: [U-Boot] [PATCH] spl: remove forced linking of commands into SPL

2012-08-09 Thread Tyler Olmstead
Hi Tom, On Thu, Aug 9, 2012 at 7:35 AM, Tom Rini wrote: > On 08/08/2012 07:24 PM, 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

Re: [U-Boot] [PATCH] spl: remove forced linking of commands into SPL

2012-08-09 Thread Tom Rini
On 08/08/2012 07:24 PM, 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,