aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
parent2f2760a39d021c06873f0c3bb7bb2bd55b6934cd (diff)
downloadfsf-binutils-gdb-16805f35a33326502c977fc25b3521e3623b21c6.zip
fsf-binutils-gdb-16805f35a33326502c977fc25b3521e3623b21c6.tar.gz
fsf-binutils-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')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/bfd-in2.h1
-rw-r--r--bfd/libbfd.h1
-rw-r--r--bfd/reloc.c2
4 files changed, 10 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 6c4773e..4ce004e 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2006-07-18 Paul Brook <paul@codesourcery.com>
+
+ * bfd-in2.h: Regenerate.
+ * libbfd.h: Regenerate.
+ * reloc.c: Add BFD_RELOC_ARM_T32_ADD_IMM.
+
2006-07-18 Nick Clifton <nickc@redhat.com>
* elfxx-mips.c (_bfd_mips_elf_common_definition): New function.
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,
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index 0f41f5f..0aa7046 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -1263,6 +1263,7 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
"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",
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