diff options
Diffstat (limited to 'contrib/binutils/ld/scripttempl/armcoff.sc')
-rw-r--r-- | contrib/binutils/ld/scripttempl/armcoff.sc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/binutils/ld/scripttempl/armcoff.sc b/contrib/binutils/ld/scripttempl/armcoff.sc index c61f734..781301c 100644 --- a/contrib/binutils/ld/scripttempl/armcoff.sc +++ b/contrib/binutils/ld/scripttempl/armcoff.sc @@ -44,7 +44,7 @@ SECTIONS ${RELOCATING+ etext = .;} ${RELOCATING+ _etext = .;} } - .data ${RELOCATING+${DATA_ADDR-0x40000 + (. & 0xfffc0fff)}} : { + .data ${RELOCATING+${DATA_ADDR-0x40000 + (ALIGN(0x8) & 0xfffc0fff)}} : { ${RELOCATING+ __data_start__ = . ;} *(.data*) @@ -60,7 +60,7 @@ SECTIONS } ${CONSTRUCTING+${RELOCATING-$CTOR}} ${CONSTRUCTING+${RELOCATING-$DTOR}} - .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} : + .bss ${RELOCATING+ ALIGN(0x8)} : { ${RELOCATING+ __bss_start__ = . ;} *(.bss) |