aboutsummaryrefslogtreecommitdiff
path: root/bfd/reloc.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2006-07-18 16:44:47 +0000
committerPaul Brook <paul@codesourcery.com>2006-07-18 16:44:47 +0000
commit16805f35a33326502c977fc25b3521e3623b21c6 (patch)
treea157535ec927ae9556568f82220b3a9ac1518dae /bfd/reloc.c
parent2f2760a39d021c06873f0c3bb7bb2bd55b6934cd (diff)
downloadgdb-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/reloc.c')
-rw-r--r--bfd/reloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/reloc.c b/bfd/reloc.c
index 414a41c..60ebf36 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -2822,6 +2822,8 @@ ENUMX
ENUMX
BFD_RELOC_ARM_T32_IMMEDIATE
ENUMX
+ BFD_RELOC_ARM_T32_ADD_IMM
+ENUMX
BFD_RELOC_ARM_T32_IMM12
ENUMX
BFD_RELOC_ARM_T32_ADD_PC12