diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2002-06-29 10:33:45 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2002-06-29 10:33:45 +0000 |
commit | a66c0f2c3bfeebc33e3beefc6eb9249fd3a3b486 (patch) | |
tree | 0e4a131edcd03b140daec1452f49fe02c89be144 /ld/emulparams | |
parent | 96e8741728f0825f7e7b903e66d0c9cc00dc2eb2 (diff) | |
download | gdb-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.sh | 3 | ||||
-rw-r--r-- | ld/emulparams/m68hc11elfb.sh | 1 | ||||
-rw-r--r-- | ld/emulparams/m68hc12elf.sh | 3 | ||||
-rw-r--r-- | ld/emulparams/m68hc12elfb.sh | 1 |
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 |