diff options
author | Daniel Jacobowitz <drow@false.org> | 2005-03-22 15:39:32 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2005-03-22 15:39:32 +0000 |
commit | 28a094c2ccbb6382b49c7e60a633bb3f18306d50 (patch) | |
tree | 1755807d93617a136a775f2b7ab6277ca29d5941 | |
parent | 0945cdfd610d5df03ab1aeb3d85e2c35d6bd6584 (diff) | |
download | gdb-28a094c2ccbb6382b49c7e60a633bb3f18306d50.zip gdb-28a094c2ccbb6382b49c7e60a633bb3f18306d50.tar.gz gdb-28a094c2ccbb6382b49c7e60a633bb3f18306d50.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 91f6137..dc3a74c 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 3f02797..cfa0b11 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: |