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 | * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't (diff) | |
download | binutils-gdb-2b60860a4c823c5de508a6af53fcfd1c57c31cba.tar.gz binutils-gdb-2b60860a4c823c5de508a6af53fcfd1c57c31cba.tar.bz2 binutils-gdb-2b60860a4c823c5de508a6af53fcfd1c57c31cba.zip |
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
diff --git a/ld/ldexp.c b/ld/ldexp.c index 3c6ad0c350c..08664e629e6 100644 --- a/ld/ldexp.c +++ b/ld/ldexp.c @@ -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; |