From: "Sumesh UdayaKumaran" <sumesh_uk@hotmail.com>
To: binutils@sources.redhat.com
Subject: Linker question
Date: Fri, 13 Jun 2003 15:38:00 -0000 [thread overview]
Message-ID: <BAY1-F131RItKZGR3gj0001adc4@hotmail.com> (raw)
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
next reply other threads:[~2003-06-13 15:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-13 15:38 Sumesh UdayaKumaran [this message]
2003-06-17 8:22 ` Nick Clifton
2005-07-22 13:27 Michael Trimarchi
2008-10-02 9:00 palparni
2008-10-02 12:56 ` Ramana Radhakrishnan
2008-10-03 6:55 ` palparni
2008-10-02 15:30 ` Nick Clifton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BAY1-F131RItKZGR3gj0001adc4@hotmail.com \
--to=sumesh_uk@hotmail.com \
--cc=binutils@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).