
On Wed, Oct 7, 2009 at 8:56 PM, Graeme Russ graeme.russ@gmail.com wrote:
On Wed, Oct 7, 2009 at 5:55 PM, Wolfgang Denk wd@denx.de wrote:
Dear Graeme Russ,
In message d66caabb0910061824s4165d33bu5d5213f6783c09d0@mail.gmail.com 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