[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Howto put constants on fixed address
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] Howto put constants on fixed address |
Date: |
Mon, 24 Dec 2007 08:41:14 +0100 (MET) |
"Stu Bell" <address@hidden> wrote:
> My feeling is that you are asking quite a bit too much from the
> linker to expect it to "flow" code around an obstacle in the middle
> of it's memory map.
I agree. If at all, I'd simply use the last (upmost) ROM location for
that "magic number" or "magic string".
Another option would be to use a real "magic string" right behind the
vectors table. Just introduce it by a known 32-bit word that can
never be part of the vectors table itself. This is basically the way
the old revision control system SCCS worked with its "@(#)" magic
number, which was then found and extracted by the "what" command.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
- RE: [avr-gcc-list] Howto put constants on fixed address, (continued)
- RE: [avr-gcc-list] Howto put constants on fixed address, Stu Bell, 2007/12/19
- RE: [avr-gcc-list] Howto put constants on fixed address, Martin Žižka, 2007/12/19
- Re: [avr-gcc-list] Howto put constants on fixed address, David Kelly, 2007/12/19
- Re: [avr-gcc-list] Howto put constants on fixed address, zizka, 2007/12/20
- Re: [avr-gcc-list] Howto put constants on fixed address, TODD BATZLER, 2007/12/20
- RE: [avr-gcc-list] Howto put constants on fixed address, Martin Žižka, 2007/12/20
- RE: [avr-gcc-list] Howto put constants on fixed address, Stu Bell, 2007/12/20
- RE: [avr-gcc-list] Howto put constants on fixed address, Weddington, Eric, 2007/12/20
- RE: [avr-gcc-list] Howto put constants on fixed address, Martin Žižka, 2007/12/20
- Re: [avr-gcc-list] Howto put constants on fixed address, David Kelly, 2007/12/20
- Re: [avr-gcc-list] Howto put constants on fixed address,
Joerg Wunsch <=
- RE: [avr-gcc-list] Howto put constants on fixed address, Stu Bell, 2007/12/20
- RE: [avr-gcc-list] Howto put constants on fixed address, Stu Bell, 2007/12/19