bfd/
commit746a85793340219c460f7ac05dc5dd001d774894
authorNick Clifton <nickc@redhat.com>
Thu, 18 Mar 2010 11:22:43 +0000 (18 11:22 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 18 Mar 2010 11:22:43 +0000 (18 11:22 +0000)
treeb06b317b1dc2e4cbff6f1905aacf653ef66434b7
parent60a4e3a96d5eb3aaefdb2bebb339e78fb59ef0ec
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]