Re: [arm-gnu] zeroing out the .bss area
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [arm-gnu] zeroing out the .bss area
- To: Mark Deneen <mdeneen+arm@xxxxxxxxxxxxxx>
- Subject: Re: [arm-gnu] zeroing out the .bss area
- From: Carlos O'Donell <carlos@xxxxxxxxxxxxxxxx>
- Date: Wed, 04 Nov 2009 12:17:16 -0500
Mark Deneen wrote:
shaved ~350 bytes off of my boot loader, which allowed me to fit
x-modem with a serial console. My size constraint was set by the
minimum flash page size on my micro. However, I am not using any of
the runtime libraries.
Have you re-implemented the compiler helper routines in libgcc.a?
Otherwise, you must verify that none of the compiler helper routines
expect zero initialized variables in .bss e.g. verify link map has no
objects from libgcc.a which place variables in .bss.
Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos@xxxxxxxxxxxxxxxx
(650) 331-3385 x716