From 28a094c2ccbb6382b49c7e60a633bb3f18306d50 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Tue, 22 Mar 2005 15:39:32 +0000 Subject: [PATCH] * elf32-arm.c (elf32_arm_final_link_relocate): Don't fail for unresolved symbols in R_ARM_NONE relocations. --- bfd/ChangeLog | 5 +++++ bfd/elf32-arm.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 91f61379a4..dc3a74cc10 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 3f02797b31..cfa0b116cf 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: