aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2002-06-17 14:08:40 +0000
committerTom Rix <trix@redhat.com>2002-06-17 14:08:40 +0000
commit8243435612b508460efea333197bf662c403e652 (patch)
treee43144fbc2ef67875d39031989a5f871e0124dd3 /ld/scripttempl
parent4c0b7915d432a3695d945ac7b9f076e66a6e6baa (diff)
downloadfsf-binutils-gdb-8243435612b508460efea333197bf662c403e652.zip
fsf-binutils-gdb-8243435612b508460efea333197bf662c403e652.tar.gz
fsf-binutils-gdb-8243435612b508460efea333197bf662c403e652.tar.bz2
Fix ld segfault for some elf targets. Fix default layout for d10v.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/elfd10v.sc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/scripttempl/elfd10v.sc b/ld/scripttempl/elfd10v.sc
index ef57c81..f9acf6c 100644
--- a/ld/scripttempl/elfd10v.sc
+++ b/ld/scripttempl/elfd10v.sc
@@ -66,14 +66,14 @@ ${RELOCATING+${EXECUTABLE_SYMBOLS}}
MEMORY
{
UNIFIED : org = 0, len = 0x1000000
- INSN : org = 0x1000000, len = 0x40000
+ INSN : org = 0x1014000, len = 0x40000
DATA : org = 0x2000004, len = 0x7FFC
- STACK : org = 0x2007FFE, len = 4
+ STACK : org = 0x200BFFE, len = 4
}
SECTIONS
{
- .text :
+ .text ${RELOCATING+${TEXT_START_ADDR}} :
{
${RELOCATING+${TEXT_START_SYMBOLS}}
KEEP (*(.init))