* syms.c (_bfd_stab_section_find_nearest_line): Ignore R_*_NONE relocs.
This commit is contained in:
Alan Modra 2004-10-05 11:12:56 +00:00
parent 73cb587da4
commit 7785be14ef
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-10-05 Alan Modra <amodra@bigpond.net.au>
PR 425
* syms.c (_bfd_stab_section_find_nearest_line): Ignore R_*_NONE relocs.
2004-10-01 Paul Brook <paul@codesourcery.com>
* elf32-arm.h (elf32_arm_fake_sections,

View File

@ -1016,6 +1016,10 @@ _bfd_stab_section_find_nearest_line (bfd *abfd,
asymbol *sym;
r = *pr;
/* Ignore R_*_NONE relocs. */
if (r->howto->dst_mask == 0)
continue;
if (r->howto->rightshift != 0
|| r->howto->size != 2
|| r->howto->bitsize != 32