diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2008-08-21 13:10:54 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2008-08-21 13:10:54 +0000 |
commit | 2b60860a4c823c5de508a6af53fcfd1c57c31cba (patch) | |
tree | f10dfea14e939e3f8b1bf79506d436e81ea8b522 /ld/ldexp.c | |
parent | d9c78d7d2c66f687879ec9399fbaf60d08ed8cc2 (diff) | |
download | gdb-2b60860a4c823c5de508a6af53fcfd1c57c31cba.zip gdb-2b60860a4c823c5de508a6af53fcfd1c57c31cba.tar.gz gdb-2b60860a4c823c5de508a6af53fcfd1c57c31cba.tar.bz2 |
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.
Diffstat (limited to 'ld/ldexp.c')
-rw-r--r-- | ld/ldexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -415,7 +415,7 @@ fold_binary (etree_type *tree) if (expld.phase == lang_allocating_phase_enum) { expld.dataseg.phase = exp_dataseg_align_seen; - expld.dataseg.min_base = align_n (expld.dot, maxpage); + expld.dataseg.min_base = expld.dot; expld.dataseg.base = expld.result.value; expld.dataseg.pagesize = commonpage; expld.dataseg.maxpagesize = maxpage; |