Did you only upgrade avr libc, or also gcc?  I noticed that newer gcc
(newer than 4.2.2) versions made my program 14k larger.  This is a
huge increase for me and I don't like it.  I don't have the time to
track it down right now.

Sean

On 5/24/09, Birger Brunswiek <bir...@brunswiek.org> wrote:
> Hi,
> I have just upgraded my AVR libc from 1.4.6 to 1.6.5. I wanted to use
> the boot_signature_byte_get() functions, hence the upgrade. After
> compiling I noticed my code grew by over 200 bytes (from 1810 to 2050
> bytes). Looking into the assembly I found most of the bloat is coming
> from the function eeprom_read_block(). For example there are not two
> sections (__epilogue_restores__ and __prologue_saves__) which use over
> 100 bytes. They were not there before. Is this increase in code
> intended/required? It's just bad for me because now my boot loader
> doesn't exactly fit into 2k anymore.
>
> Cheers,
> Birger
>
>
> _______________________________________________
> AVR-GCC-list mailing list
> AVR-GCC-list@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
>


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to