[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] gcrt1.S variable initialization
From: |
Frieder Ferlemann |
Subject: |
[avr-gcc-list] gcrt1.S variable initialization |
Date: |
Thu, 29 Mar 2001 09:43:15 +0200 |
Hi,
one could save about 16 bytes during startup if there is no
need for initialized variables.
A conditional compile to the gcrt1.S could be inserted
which checks if there is something to copy.
Something like:
#if _etext != _edata
ldi ZL, lo8(_etext); load the end of .text segment
...
#endif
should work.
I hope you are not this tight on bits and bytes that you
need this:)
Frieder
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-gcc-list] gcrt1.S variable initialization,
Frieder Ferlemann <=