diff options
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 0ddcf0f..4e2152f 100644 --- a/ld/scripttempl/elf32msp430_3.sc +++ b/ld/scripttempl/elf32msp430_3.sc @@ -118,7 +118,9 @@ SECTIONS .data ${RELOCATING-0} : ${RELOCATING+AT (ADDR (.text) + SIZEOF (.text))} { ${RELOCATING+ PROVIDE (__data_start = .) ; } + ${RELOCATING+. = ALIGN(2);} *(.data) + *(.data.*) *(.gnu.linkonce.d*) ${RELOCATING+. = ALIGN(2);} ${RELOCATING+ _edata = . ; } @@ -126,6 +128,7 @@ SECTIONS .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} : { + ${RELOCATING+. = ALIGN(2);} ${RELOCATING+ PROVIDE (__bss_start = .) ; } *(.bss) *(COMMON) |