From: Graeme Russ Date: Wed, 7 Oct 2009 21:07:50 +1100 Subject: [U-Boot] [PATCH 0/2] Make sure 85xx bss doesn't start at 0x0 In-Reply-To: References: <1254783670-21301-1-git-send-email-ptyser@xes-inc.com> <1254862383.24664.2742.camel@localhost.localdomain> <4ACBC5E4.2040809@comcast.net> <1254870618.24664.3061.camel@localhost.localdomain> <20091006232500.2DE06E8B335@gemini.denx.de> <1254872619.24664.3159.camel@localhost.localdomain> <1254874167.24487.5.camel@ptyser-laptop> <20091007065531.69B17E8B31E@gemini.denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Oct 7, 2009 at 8:56 PM, Graeme Russ wrote: > On Wed, Oct 7, 2009 at 5:55 PM, Wolfgang Denk wrote: >> Dear Graeme Russ, >> >> In message you wrote: >> >> One reason for not using ELF images for the boot loader is size. The >> ELF header alone is often more than we would be willing to accept, not >> to mention the additional code. >> > [snip] > The extra code is only three very tight for-loops. I had them wrapped in > functions to improve readability, but they are good inline candidates (only > called once each) and I doubt they use much code space at all (I'll send > through actual numbers soon) 341 bytes in the library archive for the ELF relocation code - I'm sure inlining will further reduce the footprint Regards, Graeme