diff options
author | Jakub Jelinek <jakub@redhat.com> | 2002-04-03 10:25:41 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2002-04-03 10:25:41 +0000 |
commit | 50e60fb5787f9df6a34bfef4ecf7eb28c28acb74 (patch) | |
tree | e57eb7e70ee80f77d4ed4e6d22dbf19b474190f7 /ld | |
parent | 784b640dd592bb5c3344872a89d91e2f93a54b82 (diff) | |
download | gdb-50e60fb5787f9df6a34bfef4ecf7eb28c28acb74.zip gdb-50e60fb5787f9df6a34bfef4ecf7eb28c28acb74.tar.gz gdb-50e60fb5787f9df6a34bfef4ecf7eb28c28acb74.tar.bz2 |
* ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
is smaller than maximum, round dot up to common page boundary.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/ldexp.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 929977e..33c861e 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2002-04-03 Jakub Jelinek <jakub@redhat.com> + + * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size + is smaller than maximum, round dot up to common page boundary. + 2002-03-28 Alan Modra <amodra@bigpond.net.au> * configure.host: Set up for generic hosts first, then tweak as @@ -356,7 +356,8 @@ fold_binary (tree, current_section, allocation_done, dot, dotp) } } else if (other.value < maxpage) - result.value += dot & (maxpage - other.value); + result.value += (dot + other.value - 1) + & (maxpage - other.value); } else result.valid_p = false; |