diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 3 | ||||
-rw-r--r-- | ld/scripttempl/go32coff.sc | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 6c5a0f2..0e287e3 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 2b2556a..8ea702d 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) |