]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/config/tc-arm.c
2006-07-18 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Tue, 18 Jul 2006 16:44:47 +0000 (16:44 +0000)
committerPaul Brook <paul@codesourcery.com>
Tue, 18 Jul 2006 16:44:47 +0000 (16:44 +0000)
commit16805f35a33326502c977fc25b3521e3623b21c6
treea157535ec927ae9556568f82220b3a9ac1518dae
parent2f2760a39d021c06873f0c3bb7bb2bd55b6934cd
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]