aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-08-08 17:08:04 +0000
committerNick Clifton <nickc@redhat.com>2005-08-08 17:08:04 +0000
commit44c86e8c6da0c80ea8a55718bdab34e05e065abd (patch)
tree7c3abdab1d7cbb2947448cfb4a3ddeee31ec0c0a /ld/emulparams
parent3c2e36dc6f7dc9c54ae4e7fa50b46cfe5d1ec98b (diff)
downloadgdb-44c86e8c6da0c80ea8a55718bdab34e05e065abd.zip
gdb-44c86e8c6da0c80ea8a55718bdab34e05e065abd.tar.gz
gdb-44c86e8c6da0c80ea8a55718bdab34e05e065abd.tar.bz2
Add support for msp430x21xx variants
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/msp430all.sh68
1 files changed, 68 insertions, 0 deletions
diff --git a/ld/emulparams/msp430all.sh b/ld/emulparams/msp430all.sh
index f6f2b46..baee02e 100644
--- a/ld/emulparams/msp430all.sh
+++ b/ld/emulparams/msp430all.sh
@@ -463,6 +463,74 @@ RAM_SIZE=0x1400
STACK=0x2500
fi
+if [ "${MSP430_NAME}" = "msp430x2101" ] ; then
+ARCH=msp:21
+MACHINE=
+SCRIPT_NAME=elf32msp430
+OUTPUT_FORMAT="elf32-msp430"
+MAXPAGESIZE=1
+EMBEDDED=yes
+TEMPLATE_NAME=generic
+
+ROM_START=0xFC00
+ROM_SIZE=0x03e0
+RAM_START=0x0200
+RAM_SIZE=128
+
+STACK=0x280
+fi
+
+if [ "${MSP430_NAME}" = "msp430x2111" ] ; then
+ARCH=msp:21
+MACHINE=
+SCRIPT_NAME=elf32msp430
+OUTPUT_FORMAT="elf32-msp430"
+MAXPAGESIZE=1
+EMBEDDED=yes
+TEMPLATE_NAME=generic
+
+ROM_START=0xF800
+ROM_SIZE=0x07e0
+RAM_START=0x0200
+RAM_SIZE=128
+
+STACK=0x280
+fi
+
+if [ "${MSP430_NAME}" = "msp430x2121" ] ; then
+ARCH=msp:21
+MACHINE=
+SCRIPT_NAME=elf32msp430
+OUTPUT_FORMAT="elf32-msp430"
+MAXPAGESIZE=1
+EMBEDDED=yes
+TEMPLATE_NAME=generic
+
+ROM_START=0xf000
+ROM_SIZE=0x0fe0
+RAM_START=0x0200
+RAM_SIZE=256
+
+STACK=0x300
+fi
+
+if [ "${MSP430_NAME}" = "msp430x2131" ] ; then
+ARCH=msp:21
+MACHINE=
+SCRIPT_NAME=elf32msp430
+OUTPUT_FORMAT="elf32-msp430"
+MAXPAGESIZE=1
+EMBEDDED=yes
+TEMPLATE_NAME=generic
+
+ROM_START=0xe000
+ROM_SIZE=0x1fe0
+RAM_START=0x0200
+RAM_SIZE=256
+
+STACK=0x300
+fi
+
if [ "${MSP430_NAME}" = "msp430x311" ] ; then
ARCH=msp:31
MACHINE=