OSDN Git Service

2011-07-05 Doug Kwan <dougkwan@google.com>
authordougkwan <dougkwan>
Wed, 6 Jul 2011 17:58:41 +0000 (17:58 +0000)
committerdougkwan <dougkwan>
Wed, 6 Jul 2011 17:58:41 +0000 (17:58 +0000)
commit06b875911c74e219da036a1b50958ac53ade3abf
tree1dd2cbb01e00a411a67df3bdcb1de766a2749574
parent051d05d8ee8d1183a50233c14c9157c28d9b2699
2011-07-05  Doug Kwan  <dougkwan@google.com>

PR gold/12771
* arm.cc (Arm_relocate_functions::abs8): Use int32_t for addend and
Arm_Address type for relocation result.
(Arm_relocate_functions::abs16): Use unaligned access.  Also fix
overflow check.
(Arm_relocate_functions::abs32): Use unaligned access.
(Arm_relocate_functions::rel32): Ditto.
(Arm_relocate_functions::prel31): Ditto.
(Arm_exidix_cantunwind::do_fixed_endian_write): Ditto.
* testsuite/Makefile.am: Add new test arm_unaligned_reloc for unaligned
static data relocations.
* testsuite/Makefile.in: Regnerate.
* testsuite/arm_unaligned_reloc.{s,sh}: New files.
gold/ChangeLog
gold/arm.cc
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/arm_unaligned_reloc.s [new file with mode: 0644]
gold/testsuite/arm_unaligned_reloc.sh [new file with mode: 0755]