[visium] Fix bogus overflow check on 32-bit hosts
Eric Botcazou
ebotcazou@adacore.com
Thu Feb 7 16:16:00 GMT 2019
Trying to be as clever as the compiler inevitably leads to bugs...
Tested for visium-elf, applied on mainline, 2.32 and 2.31 branches.
2019-02-07 Eric Botcazou <ebotcazou@adacore.com>
bfd/
* elf32-visium.c (visium_elf_howto_parity_reloc): Minor tweak.
<R_VISIUM_PC16>: Use explicit range test to detect an overflow.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 1356 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20190207/6d116b13/attachment.bin>
More information about the Binutils
mailing list