aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elf32msp430_3.sc
diff options
context:
space:
mode:
Diffstat (limited to 'ld/scripttempl/elf32msp430_3.sc')
-rw-r--r--ld/scripttempl/elf32msp430_3.sc3
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);}