* elf32-arm.c (elf32_arm_final_link_relocate): Don't fail for
authorDaniel Jacobowitz <drow@false.org>
Tue, 22 Mar 2005 15:39:32 +0000 (15:39 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 22 Mar 2005 15:39:32 +0000 (15:39 +0000)
unresolved symbols in R_ARM_NONE relocations.

bfd/ChangeLog
bfd/elf32-arm.c

index 91f61379a4c67a5b1848cf1e86938a43b03bab25..dc3a74cc107ba3ed2bbba57880bec753c456e053 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_final_link_relocate): Don't fail for
+       unresolved symbols in R_ARM_NONE relocations.
+
 2005-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * elf32-arm.c (elf32_arm_final_link_relocate): Add
index 3f02797b314f07dc5085eb3d5ff798b45aec0b22..cfa0b116cffc98f2a78d15d88af902345ec04735 100644 (file)
@@ -2311,6 +2311,9 @@ elf32_arm_final_link_relocate (reloc_howto_type *           howto,
   switch (r_type)
     {
     case R_ARM_NONE:
+      /* We don't need to find a value for this symbol.  It's just a
+        marker.  */
+      *unresolved_reloc_p = FALSE;
       return bfd_reloc_ok;
 
     case R_ARM_PC24: