From 62a4b36c6b65f8de7e23fc0732ecd03b3a26008a Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 22 Jun 1994 20:11:07 +0000 Subject: [PATCH] * scripttempl/go32coff.sc: Don't put ${DATA_ALIGNMENT} inside an ALIGN. --- ld/ChangeLog | 3 +++ ld/scripttempl/go32coff.sc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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) -- 2.30.2