This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
allocating to different banks
- From: "Sumesh UdayaKumaran" <sumesh_uk at hotmail dot com>
- To: binutils at sources dot redhat dot com
- Date: Mon, 18 Aug 2003 17:39:33 +0000
- Subject: allocating to different banks
- Bcc:
Hi
I was wondering if some one can tell me the linker script changes I
would need to support multiple banks.
I was thinking of changes like this
1. Defining the memory configuration
MEMORY
{
bankD : ORIGIN = 0x00000000, LENGTH = 262144
bank0 : ORIGIN = 0x00080000, LENGTH = 100000
bank1 : ORIGIN = 0x000A0000, LENGTH = 131072
bank2 : ORIGIN = 0x00060000, LENGTH = 131072
}
2. Defining sections like below
bank0 :
{
*(bank0)
} >bank0
bank1 :
{
*(bank1)
} >bank1
bank2 :
{
*(bank2)
} >bank2
Modifying the assembly file to include the following directive for each
variable.
for example
.section bank0
Can some body point me whats wrong in this ?
thanks
-SUmesh
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail