From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 9 Aug 2012 07:35:55 -0700 Subject: [U-Boot] [PATCH] spl: remove forced linking of commands into SPL In-Reply-To: <1344479053-18404-1-git-send-email-tyler.j.olmstead@gmail.com> References: <1344479053-18404-1-git-send-email-tyler.j.olmstead@gmail.com> Message-ID: <5023CACB.5070801@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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, 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 Without either figuring out how to make the strings be garbage collected automatically (I'm talking with a toolchain friend of mine about how to try and do this) or whacking U_BOOT_CMD to do this for us, we will start adding bloat to SPL after we do this. -- Tom