From: Daniel Jacobowitz Date: Tue, 22 Mar 2005 15:38:06 +0000 (+0000) Subject: * elf32-arm.c (elf32_arm_final_link_relocate): Don't fail for X-Git-Tag: binutils-csl-arm-2005q1-branchpoint~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b756b2eb4d2a27e5bef2fca76e2f26c8c6b7ecac;p=thirdparty%2Fbinutils-gdb.git * elf32-arm.c (elf32_arm_final_link_relocate): Don't fail for unresolved symbols in R_ARM_NONE relocations. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 39b0ea72ab2..5821fc4cafd 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2005-03-22 Daniel Jacobowitz + + * elf32-arm.c (elf32_arm_final_link_relocate): Don't fail for + unresolved symbols in R_ARM_NONE relocations. + 2005-03-22 Daniel Jacobowitz * elf32-arm.c (elf32_arm_final_link_relocate): Add diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index 4893b362112..63452ca57fb 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -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: