2012-02-03 Doug Kwan <dougkwan@google.com>
commit17cbf889fe01fbbc0ac3be3bffda05f25bc5e926
authorDoug Kwan <dougkwan@google.com>
Fri, 3 Feb 2012 20:01:01 +0000 (3 20:01 +0000)
committerDoug Kwan <dougkwan@google.com>
Fri, 3 Feb 2012 20:01:01 +0000 (3 20:01 +0000)
treed8e92a319e3097af25ee6c2d3ab8f662f0b1ac5e
parente6fdbc360e1e7d4628b5a1737f7418a5d20513ef
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