This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Memory maps with gcc and eCos


>-----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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]