]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* elf32-arm.c (elf32_arm_final_link_relocate): Don't fail for
authorDaniel Jacobowitz <drow@false.org>
Tue, 22 Mar 2005 15:38:06 +0000 (15:38 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 22 Mar 2005 15:38:06 +0000 (15:38 +0000)
unresolved symbols in R_ARM_NONE relocations.

bfd/ChangeLog
bfd/elf32-arm.c

index 39b0ea72ab2aa5fb439c671e86b816e873fb96f9..5821fc4cafd1f725e80b04a91254244ff314a354 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 4893b362112bfc79d91c1efdbf412bc472931768..63452ca57fb1664b5ba11918c8d944aa3ade0fe9 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: