Use int and bfd_signed_vma in x32 addend overflow check
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 11 May 2012 00:50:43 +0000 (00:50 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 11 May 2012 00:50:43 +0000 (00:50 +0000)
commit268a8d3ac407c5ce6bd6fe27736a1b9265e84f25
tree43a3da45e77d1c335562ffcd1b48dd52a2f8026e
parent74b1e045f3883b1b07ca5f8f83e7a97948891973
Use int and bfd_signed_vma in x32 addend overflow check

bfd/

* elf64-x86-64.c (elf_x86_64_relocate_section): Use int in x32
addend overflow check.

gas/

* config/tc-i386.c (tc_gen_reloc): Use bfd_signed_vma in x32
addend overflow check.
bfd/ChangeLog
bfd/elf64-x86-64.c
gas/ChangeLog
gas/config/tc-i386.c