diff options
author | Daniel Jacobowitz <drow@false.org> | 2005-03-22 15:38:06 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2005-03-22 15:38:06 +0000 |
commit | b756b2eb4d2a27e5bef2fca76e2f26c8c6b7ecac (patch) | |
tree | 447a60235672b97ae77d6f4a8f5f02a0d43970b8 | |
parent | 9073db52a2ea8981ee94a68591cb364071cce518 (diff) | |
download | gdb-b756b2eb4d2a27e5bef2fca76e2f26c8c6b7ecac.zip gdb-b756b2eb4d2a27e5bef2fca76e2f26c8c6b7ecac.tar.gz gdb-b756b2eb4d2a27e5bef2fca76e2f26c8c6b7ecac.tar.bz2 |
* elf32-arm.c (elf32_arm_final_link_relocate): Don't fail for
unresolved symbols in R_ARM_NONE relocations.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-arm.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 39b0ea7..5821fc4 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 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 UNRESOLVED_RELOC_P argument. Set it appropriately. (elf32_arm_relocate_section): Update call to diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index 4893b36..63452ca 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: |