PR ld/6833
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 21 Aug 2008 13:10:54 +0000 (13:10 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 21 Aug 2008 13:10:54 +0000 (13:10 +0000)
commit2b60860a4c823c5de508a6af53fcfd1c57c31cba
treef10dfea14e939e3f8b1bf79506d436e81ea8b522
parentd9c78d7d2c66f687879ec9399fbaf60d08ed8cc2
PR ld/6833
* ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Do not align
EXPLD.DATASEG.MIN_BASE.
* ldlang.c (lang_size_sections): New variable OLD_BASE.  Rename
OLD_MIN_BASE to MIN_BASE with the former alignment from `ldexp.c'.
Use OLD_BASE now for the minimal base check after the base decrease by
the maximum alignment found.
ld/ChangeLog
ld/ldexp.c
ld/ldlang.c