diff options
author | Nick Clifton <nickc@redhat.com> | 2006-08-07 10:26:08 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2006-08-07 10:26:08 +0000 |
commit | f9bc07b9e972116e6e0040240515801a384dc207 (patch) | |
tree | fa4e8147111205018c02dc4067deced7c1b817ea | |
parent | c7578d1b037acfc0a7cc9eeeea8f4206c0a9dc38 (diff) | |
download | binutils-redhat-f9bc07b9e972116e6e0040240515801a384dc207.tar.gz |
* coff-arm.c (coff_arm_rtype_to_howto): Only check for ARM_SECREL relocation types if the target is ARM_WINCE
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/coff-arm.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 253b7c00a4..e11bcbc09f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2006-08-07 Nick Clifton <nickc@redhat.com> + + * coff-arm.c (coff_arm_rtype_to_howto): Only check for ARM_SECREL + relocation types if the target is ARM_WINCE. + 2006-08-05 Pedro Alves <pedro_alves@portugalmail.pt> * bfd.c (bfd_get_sign_extend_vma): Add cases for pe-arm-little diff --git a/bfd/coff-arm.c b/bfd/coff-arm.c index 91b2634f54..407004f430 100644 --- a/bfd/coff-arm.c +++ b/bfd/coff-arm.c @@ -539,7 +539,7 @@ coff_arm_rtype_to_howto (bfd *abfd ATTRIBUTE_UNUSED, if (rel->r_type == ARM_RVA32) *addendp -= pe_data (sec->output_section->owner)->pe_opthdr.ImageBase; -#ifdef COFF_WITH_PE +#if defined COFF_WITH_PE && defined ARM_WINCE if (rel->r_type == ARM_SECREL) { bfd_vma osect_vma; |