projects
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Enable ppc476 workaround for ld -r.
[binutils-gdb.git]
/
ld
/
emulparams
/
msp430all.sh
1
#!/bin/sh
2
3
# This called by genscripts_extra.sh
4
5
MSP430_NAME
=
${EMULATION_NAME}
6
7
SCRIPT_NAME
=
elf32msp430
8
TEMPLATE_NAME
=
generic
9
EXTRA_EM_FILE
=
genelf
10
OUTPUT_FORMAT
=
"elf32-msp430"
11
MACHINE
=
12
MAXPAGESIZE
=
1
13
EMBEDDED
=
yes
14
15
if
[
"
${MSP430_NAME}
"
=
"msp430"
] ;
then
16
ARCH
=
msp
:
14
17
ROM_START
=
0x8000
18
ROM_SIZE
=
0x7fe0
19
RAM_START
=
0x0200
20
RAM_SIZE
=
1
K
21
STACK
=
0x600
22
fi
23
24
if
[
"
${MSP430_NAME}
"
=
"msp430X"
] ;
then
25
ARCH
=
MSP430x43
26
ROM_START
=
0x02000
27
ROM_SIZE
=
0x0dfe0
28
RAM_START
=
0x10000
29
RAM_SIZE
=
0x30000
30
STACK
=
0x600
31
fi