This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [GOLD][PATCH] Fix for PR gold/12771 (unaligned ARM static data relocs)
- From: Ian Lance Taylor <iant at google dot com>
- To: Doug Kwan (éæå) <dougkwan at google dot com>
- Cc: binutils <binutils at sourceware dot org>
- Date: Wed, 06 Jul 2011 07:57:59 -0700
- Subject: Re: [GOLD][PATCH] Fix for PR gold/12771 (unaligned ARM static data relocs)
- References: <CAH9SEo6v8Eu3or0aq+ef_UidOAYc=RO-vPT=7nFkxS9MV8LBjA@mail.gmail.com>
"Doug Kwan (éæå)" <dougkwan@google.com> writes:
> 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.
This is OK.
Thanks.
Ian