bfd/
authorNick Clifton <nickc@redhat.com>
Thu, 18 Mar 2010 11:22:46 +0000 (11:22 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 18 Mar 2010 11:22:46 +0000 (11:22 +0000)
commitb43420e6cdbc2b1ae000f4671470d208ac7241a9
tree461a0ff104afd4e004535bc1f70ce12c0ed688f1
parent17299ac7f6d12ac5286a490e43c0cdb75abc0f21
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.
bfd/ChangeLog
bfd/bfd-in2.h
bfd/elf32-arm.c
bfd/libbfd.h
bfd/reloc.c
gas/ChangeLog
gas/config/tc-arm.c
gas/doc/c-arm.texi
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/got_prel.d [new file with mode: 0644]
gas/testsuite/gas/arm/got_prel.s [new file with mode: 0644]