diff options
author | Paul Brook <paul@codesourcery.com> | 2006-07-18 16:44:47 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2006-07-18 16:44:47 +0000 |
commit | 16805f35a33326502c977fc25b3521e3623b21c6 (patch) | |
tree | a157535ec927ae9556568f82220b3a9ac1518dae /bfd/bfd-in2.h | |
parent | 2f2760a39d021c06873f0c3bb7bb2bd55b6934cd (diff) | |
download | gdb-16805f35a33326502c977fc25b3521e3623b21c6.zip gdb-16805f35a33326502c977fc25b3521e3623b21c6.tar.gz gdb-16805f35a33326502c977fc25b3521e3623b21c6.tar.bz2 |
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.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r-- | bfd/bfd-in2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index df3bae8..381ae55 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -2966,6 +2966,7 @@ pc-relative or some form of GOT-indirect relocation. */ BFD_RELOC_ARM_IMMEDIATE, BFD_RELOC_ARM_ADRL_IMMEDIATE, BFD_RELOC_ARM_T32_IMMEDIATE, + BFD_RELOC_ARM_T32_ADD_IMM, BFD_RELOC_ARM_T32_IMM12, BFD_RELOC_ARM_T32_ADD_PC12, BFD_RELOC_ARM_SHIFT_IMM, |