d10v: complain on branch overflows

Alexandre Oliva aoliva@redhat.com
Thu Nov 15 17:56:00 GMT 2001


The d10v linker would sometimes fail to report an overflow in a
branch, when the operand would fit in an unsigned integer with the
given bitsize, even though the field is signed, and narrower than
specified.

This patch fixes this problem, by getting these fields checked for
overflow as signed, not as bitfields, fixes the actual width of the
bitfields that are shifted right by 2 bits, adjusts formatting and
disables some pointless overflow checking (_NONE and _32).

Ok to install?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: d10v-bfd-reloc-overflows.patch
Type: text/x-patch
Size: 5677 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20011115/2cc5def7/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


More information about the Binutils mailing list