error assigning sections to segments.
+2008-07-24 Nick Clifton <nickc@redhat.com>
+
+ * elf.c (_bfd_elf_map_sections_to_segments): Catch off by one
+ error assigning sections to segments.
+
2008-07-22 Nick Clifton <nickc@redhat.com>
* elf.c (_bfd_elf_map_sections_to_segments): Allow sections in
else if ((BFD_ALIGN (last_hdr->lma + last_size, maxpagesize) + maxpagesize
> last_hdr->lma)
&& (BFD_ALIGN (last_hdr->lma + last_size, maxpagesize) + maxpagesize
- < hdr->lma))
+ <= hdr->lma))
{
/* If putting this section in this segment would force us to
skip a page in the segment, then we need a new segment. */