Linker question
Sumesh UdayaKumaran
sumesh_uk@hotmail.com
Fri Jun 13 15:38:00 GMT 2003
Hi
As part of a project Iam involved in, I need to maintain copies of the
same variable in different memory banks (kind of like cache). I then want to
based on criteria I have address the different copies at different program
points.
Eg ldw r3,A ....................Address the copy of
global variable A in bank1.
..................
................
ldw r4, A Address the copy of global
variable A in bank2
Iam implementing this on a gcc cross compiler for mcore-elf.
>From what I have figured so far (Iam really new to this whole world of
linking and assembling ), I can handle this at the stage when the exact
addresses are being generated.
The questions I had were:
1. Where is the exact address being generated.
2. As an alternative , can I handle such a scheme through a script, in other
words can the script be used to guide such an addressing.
Any pointers, suggestions will be great
thanks
sumesh
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
More information about the Binutils
mailing list