This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Update D10V linker script with values for TS3 evaluation board
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: 30 Aug 2002 12:33:58 +0100
- Subject: Update D10V linker script with values for TS3 evaluation board
Hi Guys,
I am applying the patch below to provide a better description of the
memory regions available on the D10V TS3 evaluation board.
Cheers
Nick
2002-08-30 Nick Clifton <nickc@redhat.com>
* scripttempl/elfd10v.sc (MEMORY): Remove UNIFIED, it is not
used. Change INSN to start at 0x01000000 and extend for
256K (ignoring holes). Start the STACK on a word aligned
boundary.
(.rodata): Start it at the READONLY_START_ADDR.
Index: ld/scripttempl/elfd10v.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elfd10v.sc,v
retrieving revision 1.6
diff -c -3 -p -w -r1.6 elfd10v.sc
*** ld/scripttempl/elfd10v.sc 17 Jun 2002 14:08:40 -0000 1.6
--- ld/scripttempl/elfd10v.sc 30 Aug 2002 11:28:47 -0000
*************** ${RELOCATING+${EXECUTABLE_SYMBOLS}}
*** 65,74 ****
MEMORY
{
! UNIFIED : org = 0, len = 0x1000000
! INSN : org = 0x1014000, len = 0x40000
! DATA : org = 0x2000004, len = 0x7FFC
! STACK : org = 0x200BFFE, len = 4
}
SECTIONS
--- 65,83 ----
MEMORY
{
! /* These are the values for the D10V-TS3 board.
! There are other memory regions available on
! the TS3 (eg ROM, FLASH, etc) but these are not
! used by this script. */
!
! INSN : org = 0x01000000, len = 256K
! DATA : org = 0x02000000, len = 48K
!
! /* This is a fake memory region at the top of the
! on-chip RAM, used as the start of the
! (descending) stack. */
!
! STACK : org = 0x0200BFFC, len = 4
}
SECTIONS
*************** SECTIONS
*** 89,95 ****
${RELOCATING+PROVIDE (etext = .);}
} ${RELOCATING+ >INSN} =${NOP-0}
! .rodata ${RELOCATING-0} : {
*(.rodata)
*(.gnu.linkonce.r*)
*(.rodata.*)
--- 98,104 ----
${RELOCATING+PROVIDE (etext = .);}
} ${RELOCATING+ >INSN} =${NOP-0}
! .rodata ${RELOCATING+${READONLY_START_ADDR}} : {
*(.rodata)
*(.gnu.linkonce.r*)
*(.rodata.*)