aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2002-06-29 10:33:45 +0000
committerStephane Carrez <stcarrez@nerim.fr>2002-06-29 10:33:45 +0000
commita66c0f2c3bfeebc33e3beefc6eb9249fd3a3b486 (patch)
tree0e4a131edcd03b140daec1452f49fe02c89be144 /ld/emulparams
parent96e8741728f0825f7e7b903e66d0c9cc00dc2eb2 (diff)
downloadgdb-a66c0f2c3bfeebc33e3beefc6eb9249fd3a3b486.zip
gdb-a66c0f2c3bfeebc33e3beefc6eb9249fd3a3b486.tar.gz
gdb-a66c0f2c3bfeebc33e3beefc6eb9249fd3a3b486.tar.bz2
* emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
* emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define. * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define. (EEPROM_START_ADDR): Define. (EEPROM_MEMORY): Define. * emulparams/m68hc12elf.sh: Likewise. * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs section to put soft registers in .page0. * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/m68hc11elf.sh3
-rw-r--r--ld/emulparams/m68hc11elfb.sh1
-rw-r--r--ld/emulparams/m68hc12elf.sh3
-rw-r--r--ld/emulparams/m68hc12elfb.sh1
4 files changed, 8 insertions, 0 deletions
diff --git a/ld/emulparams/m68hc11elf.sh b/ld/emulparams/m68hc11elf.sh
index 2f6713e..2a73179 100644
--- a/ld/emulparams/m68hc11elf.sh
+++ b/ld/emulparams/m68hc11elf.sh
@@ -5,8 +5,11 @@ ROM_START_ADDR=0x08000
ROM_SIZE=0x8000
RAM_START_ADDR=0x01100
RAM_SIZE=0x6F00
+EEPROM_START_ADDR=0xb600
+EEPROM_SIZE=512
TEXT_MEMORY=text
DATA_MEMORY=data
+EEPROM_MEMORY=eeprom
ARCH=m68hc11
MAXPAGESIZE=32
EMBEDDED=yes
diff --git a/ld/emulparams/m68hc11elfb.sh b/ld/emulparams/m68hc11elfb.sh
index 0f3016e..666f6dc 100644
--- a/ld/emulparams/m68hc11elfb.sh
+++ b/ld/emulparams/m68hc11elfb.sh
@@ -3,6 +3,7 @@ SCRIPT_NAME=elfm68hc11
OUTPUT_FORMAT="elf32-m68hc11"
TEXT_MEMORY=text
DATA_MEMORY=data
+EEPROM_MEMORY=eeprom
ARCH=m68hc11
MAXPAGESIZE=32
GENERIC_BOARD=yes
diff --git a/ld/emulparams/m68hc12elf.sh b/ld/emulparams/m68hc12elf.sh
index 1d9134c..133eb14 100644
--- a/ld/emulparams/m68hc12elf.sh
+++ b/ld/emulparams/m68hc12elf.sh
@@ -5,8 +5,11 @@ ROM_START_ADDR=0x08000
ROM_SIZE=0x8000
RAM_START_ADDR=0x01100
RAM_SIZE=0x6F00
+EEPROM_START_ADDR=0x0800
+EEPROM_SIZE=2048
TEXT_MEMORY=text
DATA_MEMORY=data
+EEPROM_MEMORY=eeprom
ARCH=m68hc12
MAXPAGESIZE=32
EMBEDDED=yes
diff --git a/ld/emulparams/m68hc12elfb.sh b/ld/emulparams/m68hc12elfb.sh
index 211978a..11a17b6 100644
--- a/ld/emulparams/m68hc12elfb.sh
+++ b/ld/emulparams/m68hc12elfb.sh
@@ -3,6 +3,7 @@ SCRIPT_NAME=elfm68hc12
OUTPUT_FORMAT="elf32-m68hc12"
TEXT_MEMORY=text
DATA_MEMORY=data
+EEPROM_MEMORY=eeprom
ARCH=m68hc12
MAXPAGESIZE=32
GENERIC_BOARD=yes