2006-07-18 Paul Brook <paul@codesourcery.com>
commit1f86a69ba44289a3bbeafbe0cd93d5b27d7ea93c
authorPaul Brook <paul@codesourcery.com>
Tue, 18 Jul 2006 16:44:47 +0000 (18 16:44 +0000)
committerPaul Brook <paul@codesourcery.com>
Tue, 18 Jul 2006 16:44:47 +0000 (18 16:44 +0000)
tree3ab6abf5cab91915683e01bac68af5b0a45d33fb
parent344a4d54f0d6be3c0851c083f694623f272ac78b
2006-07-18  Paul Brook  <paul@codesourcery.com>

bfd/
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* reloc.c: Add BFD_RELOC_ARM_T32_ADD_IMM.

gas/
* tc-arm.c (do_t_add_sub): Use addw/subw when source is PC.
(md_convert_frag): Use correct reloc for add_pc.  Use
BFD_RELOC_ARM_T32_ADD_IMM for normal add/sum.
(md_apply_fix): Handle BFD_RELOC_ARM_T32_ADD_IMM.
(arm_force_relocation): Handle BFD_RELOC_ARM_T32_ADD_IMM.

gas/testsuite/
* gas/arm/thumb2_add.d: New test.
* gas/arm/thumb2_add.s: New test.
bfd/ChangeLog
bfd/bfd-in2.h
bfd/libbfd.h
bfd/reloc.c
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/thumb2_add.d [new file with mode: 0644]
gas/testsuite/gas/arm/thumb2_add.s [new file with mode: 0644]