This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH: PR gas/11323] Add R_ARM_GOT_PREL relocation to arm assembler


Hi Carrot,

bfd/
2010-03-15  Wei Guozhi<carrot@google.com>

        PR gas/11323
        * bfd-in2.h (enum bfd_reloc_code_real): New BFD_RELOC_GOT_PREL type.
        * elf32-arm.c (elf32_arm_reloc_map): BFD_RELOC_GOT_PREL to
        R_ARM_GOT_PREL map.
        * libbfd.h (bfd_reloc_code_real_names): BFD_RELOC_GOT_PREL name.
        * reloc.c (comments): Document the new relocation.

gas/
2010-03-15  Wei Guozhi<carrot@google.com>

        PR gas/11323
        * config/tc-arm.c (reloc_names): New relocation names.
        (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
        (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
        * doc/c-arm.texi (ARM-Relocations): Document the new relocation.

gas/testsuite
2010-03-15  Wei Guozhi<carrot@google.com>

        PR gas/11323
        * gas/arm/got_prel.s: New test case.
        * gas/arm/got_prel.d: Likewise.

Approved and applied.


Note - I made two, very minor changes:

* I added a #target line to the got_prel.d file so that the test is only run for ELF based targets.

* I fixed the changelog entry for the changes in the bfd directory to refer to BFD_RELOC_ARM_GOT_PREL not BFD_RELOC_GOT_PREL and I mentioned that the auto-generated files were regenerated.

Cheers
  Nick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]