diff options
author | Daniel Jacobowitz <dan@debian.org> | 2005-03-22 15:38:06 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2005-03-22 15:38:06 +0000 |
commit | f980dc82ae3695c35983418a7bce96803ef926a4 (patch) | |
tree | 94ab10615ea0f705d7f55ebdf2c6d398c4233f81 | |
parent | 6030e4cfa30b95e228d8d3c927f76f283534dc24 (diff) | |
download | gdb-f980dc82ae3695c35983418a7bce96803ef926a4.tar.gz |
* 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 39b0ea72ab2..5821fc4cafd 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 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: |