mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 12:39:59 +00:00
* ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
is smaller than maximum, round dot up to common page boundary.
This commit is contained in:
parent
784b640dd5
commit
50e60fb578
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user