segment wrap around bug

Nathan Sidwell nathan@codesourcery.com
Wed Nov 28 13:20:00 GMT 2007


this patch fixes a SECTION_IN_SEGMENT check that was failing for a segment right 
at the end of memory.  I've rearranged the maths to avoid integer wrapping.

tested on powerpc-wrs-vxworks

ok?

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: all.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20071128/d1fcd87b/attachment.ksh>


More information about the Binutils mailing list