[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] ordering of EEPROM variables
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] ordering of EEPROM variables |
Date: |
Tue, 6 Sep 2005 18:56:31 +0200 (MET DST) |
"Wolfgang Wegner" <address@hidden> wrote:
> The problem is that the variables are sorted "top-down" by gcc (or
> the linker), so my placeholders do not work. I can of course
> manually fill these, but I think there has to be a better way.
There's no guarantee for any particular order. The only portable
approach is to use a single variable that actually consists of a large
struct.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)