aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-05-05 11:28:36 +0000
committerNick Clifton <nickc@redhat.com>2009-05-05 11:28:36 +0000
commit84f1b567bb140a51db3dd7032e34707ffe7974d2 (patch)
treeeb55394aa7f31be7c8916972c7cbb5e2e976d551 /ld/emulparams
parent PR 10109 (diff)
downloadbinutils-gdb-84f1b567bb140a51db3dd7032e34707ffe7974d2.tar.gz
binutils-gdb-84f1b567bb140a51db3dd7032e34707ffe7974d2.tar.bz2
binutils-gdb-84f1b567bb140a51db3dd7032e34707ffe7974d2.zip
* scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN.
* emulparams/avr1.sh (DATA_ORIGIN): Add. * emulparams/avr2.sh (DATA_ORIGIN): Add. * emulparams/avr25.sh (DATA_ORIGIN): Add. * emulparams/avr3.sh (DATA_ORIGIN): Add. * emulparams/avr31.sh (DATA_ORIGIN): Add. * emulparams/avr35.sh (DATA_ORIGIN): Add. * emulparams/avr4.sh (DATA_ORIGIN): Add. * emulparams/avr5.sh (DATA_ORIGIN): Add. * emulparams/avr51.sh (DATA_ORIGIN): Add. (DATA_LENGTH): Update. * emulparams/avr6.sh (DATA_ORIGIN): Add. (DATA_LENGTH): Update.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/avr1.sh1
-rw-r--r--ld/emulparams/avr2.sh1
-rw-r--r--ld/emulparams/avr25.sh1
-rw-r--r--ld/emulparams/avr3.sh1
-rw-r--r--ld/emulparams/avr31.sh1
-rw-r--r--ld/emulparams/avr35.sh1
-rw-r--r--ld/emulparams/avr4.sh1
-rw-r--r--ld/emulparams/avr5.sh1
-rw-r--r--ld/emulparams/avr51.sh3
-rw-r--r--ld/emulparams/avr6.sh3
10 files changed, 12 insertions, 2 deletions
diff --git a/ld/emulparams/avr1.sh b/ld/emulparams/avr1.sh
index 7d907fe008d..2f6af99a7a0 100644
--- a/ld/emulparams/avr1.sh
+++ b/ld/emulparams/avr1.sh
@@ -7,5 +7,6 @@ EMBEDDED=yes
TEMPLATE_NAME=elf32
TEXT_LENGTH=8K
+DATA_ORIGIN=0x800060
DATA_LENGTH=0
EXTRA_EM_FILE=avrelf
diff --git a/ld/emulparams/avr2.sh b/ld/emulparams/avr2.sh
index 2bd677bfc8c..cb35bb95b9e 100644
--- a/ld/emulparams/avr2.sh
+++ b/ld/emulparams/avr2.sh
@@ -7,5 +7,6 @@ EMBEDDED=yes
TEMPLATE_NAME=elf32
TEXT_LENGTH=8K
+DATA_ORIGIN=0x800060
DATA_LENGTH=0xffa0
EXTRA_EM_FILE=avrelf
diff --git a/ld/emulparams/avr25.sh b/ld/emulparams/avr25.sh
index 12a002389bc..2965347efc7 100644
--- a/ld/emulparams/avr25.sh
+++ b/ld/emulparams/avr25.sh
@@ -7,5 +7,6 @@ EMBEDDED=yes
TEMPLATE_NAME=elf32
TEXT_LENGTH=8K
+DATA_ORIGIN=0x800060
DATA_LENGTH=0xffa0
EXTRA_EM_FILE=avrelf
diff --git a/ld/emulparams/avr3.sh b/ld/emulparams/avr3.sh
index ff559e6d29a..a0b86c4ec4b 100644
--- a/ld/emulparams/avr3.sh
+++ b/ld/emulparams/avr3.sh
@@ -7,5 +7,6 @@ EMBEDDED=yes
TEMPLATE_NAME=elf32
TEXT_LENGTH=128K
+DATA_ORIGIN=0x800060
DATA_LENGTH=0xffa0
EXTRA_EM_FILE=avrelf
diff --git a/ld/emulparams/avr31.sh b/ld/emulparams/avr31.sh
index e5481816681..6e1ee0a8fb9 100644
--- a/ld/emulparams/avr31.sh
+++ b/ld/emulparams/avr31.sh
@@ -7,5 +7,6 @@ EMBEDDED=yes
TEMPLATE_NAME=elf32
TEXT_LENGTH=128K
+DATA_ORIGIN=0x800060
DATA_LENGTH=0xffa0
EXTRA_EM_FILE=avrelf
diff --git a/ld/emulparams/avr35.sh b/ld/emulparams/avr35.sh
index 6186186442b..abc6790b079 100644
--- a/ld/emulparams/avr35.sh
+++ b/ld/emulparams/avr35.sh
@@ -7,5 +7,6 @@ EMBEDDED=yes
TEMPLATE_NAME=elf32
TEXT_LENGTH=64K
+DATA_ORIGIN=0x800060
DATA_LENGTH=0xffa0
EXTRA_EM_FILE=avrelf
diff --git a/ld/emulparams/avr4.sh b/ld/emulparams/avr4.sh
index 2f57cb0eb76..deaf3e738d5 100644
--- a/ld/emulparams/avr4.sh
+++ b/ld/emulparams/avr4.sh
@@ -7,5 +7,6 @@ EMBEDDED=yes
TEMPLATE_NAME=elf32
TEXT_LENGTH=8K
+DATA_ORIGIN=0x800060
DATA_LENGTH=0xffa0
EXTRA_EM_FILE=avrelf
diff --git a/ld/emulparams/avr5.sh b/ld/emulparams/avr5.sh
index 69090beedef..2d0fc4fab87 100644
--- a/ld/emulparams/avr5.sh
+++ b/ld/emulparams/avr5.sh
@@ -7,5 +7,6 @@ EMBEDDED=yes
TEMPLATE_NAME=elf32
TEXT_LENGTH=128K
+DATA_ORIGIN=0x800060
DATA_LENGTH=0xffa0
EXTRA_EM_FILE=avrelf
diff --git a/ld/emulparams/avr51.sh b/ld/emulparams/avr51.sh
index be8e8f5febb..2069dfe3b96 100644
--- a/ld/emulparams/avr51.sh
+++ b/ld/emulparams/avr51.sh
@@ -7,5 +7,6 @@ EMBEDDED=yes
TEMPLATE_NAME=elf32
TEXT_LENGTH=128K
-DATA_LENGTH=0xffa0
+DATA_ORIGIN=0x800100
+DATA_LENGTH=0xff00
EXTRA_EM_FILE=avrelf
diff --git a/ld/emulparams/avr6.sh b/ld/emulparams/avr6.sh
index 5326488ec47..c1a4fab6c8a 100644
--- a/ld/emulparams/avr6.sh
+++ b/ld/emulparams/avr6.sh
@@ -7,5 +7,6 @@ EMBEDDED=yes
TEMPLATE_NAME=elf32
TEXT_LENGTH=1024K
-DATA_LENGTH=0xffa0
+DATA_ORIGIN=0x800200
+DATA_LENGTH=0xfe00
EXTRA_EM_FILE=avrelf