From: Ian Lance Taylor Date: Wed, 22 Jun 1994 20:11:07 +0000 (+0000) Subject: * scripttempl/go32coff.sc: Don't put ${DATA_ALIGNMENT} inside an X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=62a4b36c6b65f8de7e23fc0732ecd03b3a26008a;p=binutils-gdb.git * scripttempl/go32coff.sc: Don't put ${DATA_ALIGNMENT} inside an ALIGN. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 6c5a0f2c312..0e287e3f0c7 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,8 @@ Wed Jun 22 13:42:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + * scripttempl/go32coff.sc: Don't put ${DATA_ALIGNMENT} inside an + ALIGN. + * ldlang.c (lang_size_sections): Adjust current region address even for sections with an explicit address. From ralphc@pyramid.com (Ralph Campbell). diff --git a/ld/scripttempl/go32coff.sc b/ld/scripttempl/go32coff.sc index 2b2556a715e..8ea702d162b 100644 --- a/ld/scripttempl/go32coff.sc +++ b/ld/scripttempl/go32coff.sc @@ -14,7 +14,7 @@ SECTIONS *(.text) ${RELOCATING+ etext = .}; } - .data ${RELOCATING+ ALIGN(${DATA_ALIGNMENT})} : { + .data ${RELOCATING+ ${DATA_ALIGNMENT}} : { ${RELOCATING+ *(.ctor)} ${RELOCATING+ *(.dtor)} *(.data)