aboutsummaryrefslogtreecommitdiff
path: root/bfd/reloc.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2005-07-29 17:28:33 +0000
committerPaul Brook <paul@codesourcery.com>2005-07-29 17:28:33 +0000
commit92e90b6eb3b2c77ecc6b93fe96f0896b24039ec2 (patch)
treec9de5afa742e0bd95d6056789c136d85e1a6d16c /bfd/reloc.c
parent0facbdf5c2ef772b4c43b7041b72e32c8210eab9 (diff)
downloadgdb-92e90b6eb3b2c77ecc6b93fe96f0896b24039ec2.zip
gdb-92e90b6eb3b2c77ecc6b93fe96f0896b24039ec2.tar.gz
gdb-92e90b6eb3b2c77ecc6b93fe96f0896b24039ec2.tar.bz2
2005-07-29 Paul Brook <paul@codesourcery.com>
bfd/ * reloc.c (BFD_RELOC_ARM_T32_IMM12): Add. * bfd-in2.h: Regeenrate. * libbfd.h: Regenerate. gas/ * config/tc-arm.c (parse_tb): New function. (enum operand_parse_code): Add OP_TB. (parse_operands): Handle OP_TB. (do_t_add_sub_w, do_t_tb): New functions. (insns): Add entries for addw, subw, tbb and tbh. (md_apply_fix): Handle BFD_RELOC_ARM_T32_IMM12. gas/testsuite/ * gas/arm/thumb32.s: Add tests for addw, subw, tbb and tbh. * gas/arm/thumb32.d: Ditto. opcodes/ * arm-dis.c (thumb32_opc): Fix addressing mode for tbh. (print_insn_thumb32): Fix decoding of thumb2 'I' operands.
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 671746f..7c2ccdb 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -2736,6 +2736,8 @@ ENUMX
ENUMX
BFD_RELOC_ARM_T32_IMMEDIATE
ENUMX
+ BFD_RELOC_ARM_T32_IMM12
+ENUMX
BFD_RELOC_ARM_SHIFT_IMM
ENUMX
BFD_RELOC_ARM_SMI