diff options
author | Nick Clifton <nickc@redhat.com> | 2016-01-05 16:43:58 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-01-05 16:43:58 +0000 |
commit | 296ebfbb91bc9453134c467b4bfe8363582674f7 (patch) | |
tree | 94066be06cfe87444556d5218688903eacd97be8 /ld/scripttempl/elf32msp430_3.sc | |
parent | fa89c1268f5d4e9950f3faf8c027dbbeb6aac773 (diff) | |
download | gdb-296ebfbb91bc9453134c467b4bfe8363582674f7.zip gdb-296ebfbb91bc9453134c467b4bfe8363582674f7.tar.gz gdb-296ebfbb91bc9453134c467b4bfe8363582674f7.tar.bz2 |
Fix the execution of the MSP430 simulator testsuite.
ld * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
MSP430 hardware multiply address range.
* scripttempl/elf32msp430.sc (__romdatastart): Define.
(__romdatacopysize): Define.
* scripttempl/elf32msp430_3.sc: Likewise.
tests * testutils.inc (__pass): Use the LMA addresses of the _passmsg
symbol.
(__fail): Likewise.
Diffstat (limited to 'ld/scripttempl/elf32msp430_3.sc')
-rw-r--r-- | ld/scripttempl/elf32msp430_3.sc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/scripttempl/elf32msp430_3.sc b/ld/scripttempl/elf32msp430_3.sc index 7a13081..7ad04e1 100644 --- a/ld/scripttempl/elf32msp430_3.sc +++ b/ld/scripttempl/elf32msp430_3.sc @@ -147,6 +147,9 @@ SECTIONS ${RELOCATING+ _edata = . ; } } ${RELOCATING+ > data ${RELOCATING+AT> text}} + __romdatastart = LOADADDR(.data); + __romdatacopysize = SIZEOF(.data); + .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} : { ${RELOCATING+. = ALIGN(2);} |