* coff-arm.c (coff_arm_rtype_to_howto): Only check for ARM_SECREL relocation types...
authorNick Clifton <nickc@redhat.com>
Mon, 7 Aug 2006 10:26:08 +0000 (10:26 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 7 Aug 2006 10:26:08 +0000 (10:26 +0000)
bfd/ChangeLog
bfd/coff-arm.c

index 253b7c00a4c55457001a013f5937cf316bc488b3..e11bcbc09f30fb05416e8c33ee01814efd4d2c2e 100644 (file)
@@ -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
index 91b2634f5416e183af4e8d3b31dfe3899ef1e83f..407004f4309fb6143e5f4352a6e639ee1851714b 100644 (file)
@@ -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;