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

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

Re: [avr-gcc-list] Howto put constants on fixed address


From: David Kelly
Subject: Re: [avr-gcc-list] Howto put constants on fixed address
Date: Wed, 19 Dec 2007 18:12:07 -0600


On Dec 19, 2007, at 5:03 PM, Martin Žižka wrote:

Yes, that will place the .length segment between .vectors and .progmem. But you are unable to place it to some exact address. That will place it to
address that is offset_of(.vectors)+length_of(.vectors). That can be
different for some cpus.


I think this URL describes the syntax to do what Martin is looking to do:
http://www.gnu.org/software/binutils/manual/ld-2.9.1/html_node/ld_21.html#SEC21

More hints here, in that one can edit the . address:
http://www.gnu.org/software/binutils/manual/ld-2.9.1/html_node/ld_10.html

--
David Kelly N4HHE, address@hidden
========================================================================
Whom computers would destroy, they must first drive mad.





reply via email to

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