summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Shinwell <shinwell@codesourcery.com>2006-09-01 17:14:16 +0000
committerMark Shinwell <shinwell@codesourcery.com>2006-09-01 17:14:16 +0000
commit457931c489ca5ee067c007a295fd8c901a0476fc (patch)
treefc01b2c1337a1f75ba0b8a384de5b34ef127b1c1
parentca31b32bd9207f86924f73ecd7b2843d83c5dd99 (diff)
downloadbinutils-redhat-457931c489ca5ee067c007a295fd8c901a0476fc.tar.gz
bfd/
* elf32-arm.c (elf32_arm_howto_table_1): Correct masks for R_ARM_THM_PC12 relocation.
-rw-r--r--ChangeLog.csl6
-rw-r--r--bfd/elf32-arm.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl
index 69504ed891..834afd60bc 100644
--- a/ChangeLog.csl
+++ b/ChangeLog.csl
@@ -1,3 +1,9 @@
+2006-09-01 Mark Shinwell <shinwell@codesourcery.com>
+
+ bfd/
+ * elf32-arm.c (elf32_arm_howto_table_1): Correct masks for
+ R_ARM_THM_PC12 relocation.
+
2006-09-01 Nathan Sidwell <nathan@codesourcery.com>
ld/testsuite/
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 9c80e74ff8..5de108aa26 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -852,8 +852,8 @@ static reloc_howto_type elf32_arm_howto_table_1[] =
bfd_elf_generic_reloc, /* special_function */
"R_ARM_THM_PC12", /* name */
FALSE, /* partial_inplace */
- 0x0fffffff, /* src_mask */
- 0x0fffffff, /* dst_mask */
+ 0xffffffff, /* src_mask */
+ 0xffffffff, /* dst_mask */
TRUE), /* pcrel_offset */
HOWTO (R_ARM_ABS32_NOI, /* type */