avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Bloat after upgrade to 1.6.5


From: Sean D'Epagnier
Subject: Re: [avr-gcc-list] Bloat after upgrade to 1.6.5
Date: Mon, 25 May 2009 07:59:17 -0600

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 <address@hidden> 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
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]