Memory maps with gcc and eCos

David Korn dkorn@pixelpower.com
Fri Aug 24 06:37:00 GMT 2001


>-----Original Message-----
>From: Simpkins, Andy [ mailto:Andy.Simpkins@Transcomm.uk.com ]
>Sent: 24 August 2001 14:24

>I am using eCos and am trying to map some data to a specific address in
>FLASH on my custom target board (ARM7TDMI core).  


    Hi Andy!  By an astonishing coincidence me and one of the guys here
have been trying to solve that exact same problem this morning.  I don't
know if we've got it yet, but I notice one thing:

>I have added the following to arm.ld (linker file)
>
>#define SECTION_ivoryDataStore(_region_, _vma_, _lma_) \
>    .ivoryDataStore _vma_ : _lma_ \
>    { FORCE_OUTPUT; *(.ivoryDataStore) } \
>    > _region_

  I think that second line should perhaps say

>    .ivoryDataStore _vma_ : AT _lma_ \


based on my reading of  

http://sources.redhat.com/binutils/docs-2.10/ld_3.html#SEC33


      DaveK
-- 
" So far, science's crowning achievement, the Atomic Bomb, has not even
been able to alleviate the misery and torture of endless centuries of
world poverty." - George Hammond, self-proclaimed discoverer of the 
scientific proof of god.


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list