frv: R_FRV_LABEL16 is signed

Alexandre Oliva aoliva@redhat.com
Sat Feb 28 00:33:00 GMT 2004


We fail to detect overflow if a branch target happens to be from
0x8000u to 0xffffu bytes away from the branch instruction.  This patch
fixes the bug.  I'm checking it in as obvious.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bfd-frv-label16-signed.patch
Type: text/x-patch
Size: 807 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20040228/ed1a453a/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Happy GNU Year!                     oliva@{lsd.ic.unicamp.br, gnu.org}
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist                Professional serial bug killer


More information about the Binutils mailing list