2012-02-03 Doug Kwan <dougkwan@google.com>
authorDoug Kwan <dougkwan@google.com>
Fri, 3 Feb 2012 20:01:01 +0000 (20:01 +0000)
committerDoug Kwan <dougkwan@google.com>
Fri, 3 Feb 2012 20:01:01 +0000 (20:01 +0000)
commit2c175ebc7499ac7cfae6679f7b1ecbf43e822772
tree2052feca6e60f3402e3348ea9f956ee66a117ac7
parente009ee7132fd0e378399e2f957078e822c34439a
2012-02-03  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_relocate_functions::abs8,
Arm_relocate_functions::abs16): Use
Bits::has_signed_unsigned_overflow32.
(Arm_relocate_functions::thm_abs8): Correct range of
overflow check.
* reloc.h (Bits class): Change minimum number of bits from 0 to 1
in assertions.
gold/ChangeLog
gold/arm.cc
gold/reloc.h