diff options
author | Mark Shinwell <shinwell@codesourcery.com> | 2006-09-01 17:14:16 +0000 |
---|---|---|
committer | Mark Shinwell <shinwell@codesourcery.com> | 2006-09-01 17:14:16 +0000 |
commit | 72590bfa07cdff1472d6ff0cd8db99d01bf02084 (patch) | |
tree | f1d79e578dc15982ac7ca6968f342f1d031a0cfc | |
parent | c394c2755fb9eb1e0e19afe6a38948d1a4f0a618 (diff) | |
download | gdb-72590bfa07cdff1472d6ff0cd8db99d01bf02084.tar.gz |
bfd/
* elf32-arm.c (elf32_arm_howto_table_1): Correct masks for
R_ARM_THM_PC12 relocation.
-rw-r--r-- | ChangeLog.csl | 6 | ||||
-rw-r--r-- | bfd/elf32-arm.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl index 69504ed8916..834afd60bc9 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 9c80e74ff84..5de108aa260 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 */ |