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.sc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/scripttempl/elf32msp430_3.sc b/ld/scripttempl/elf32msp430_3.sc
index ade5fcb..7209f47 100644
--- a/ld/scripttempl/elf32msp430_3.sc
+++ b/ld/scripttempl/elf32msp430_3.sc
@@ -124,7 +124,7 @@ SECTIONS
*(.const:*)
} ${RELOCATING+ > text}
- .data ${RELOCATING-0} : ${RELOCATING+AT (ADDR (.text) + SIZEOF (.text))}
+ .data ${RELOCATING-0} :
{
${RELOCATING+ PROVIDE (__data_start = .) ; }
${RELOCATING+. = ALIGN(2);}
@@ -133,7 +133,7 @@ SECTIONS
*(.gnu.linkonce.d*)
${RELOCATING+. = ALIGN(2);}
${RELOCATING+ _edata = . ; }
- } ${RELOCATING+ > data}
+ } ${RELOCATING+ > data ${RELOCATING+AT> text}}
.bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
{