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: Carlos O'Donell <carlos@xxxxxxxxxxxxxxxx>
- Subject: Re: [arm-gnu] zeroing out the .bss area
- From: Mark Deneen <mdeneen+arm@xxxxxxxxxxxxxx>
- Date: Wed, 04 Nov 2009 13:04:57 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Carlos O'Donell wrote:
> 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.
Confirmed. Nothing is pulled in from libgcc.a.
Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
iD8DBQFK8cJItf95hArmCUURArsNAKCAfL7E3HPFHlq2r8F1pPGafULWuQCggVQ5
8EapESusQgE/tkSquD6m+B8=
=Y2nQ
-----END PGP SIGNATURE-----