aboutsummaryrefslogtreecommitdiff
path: root/bfd/syms.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/syms.c')
-rw-r--r--bfd/syms.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/syms.c b/bfd/syms.c
index 6b615a2..ca4584c 100644
--- a/bfd/syms.c
+++ b/bfd/syms.c
@@ -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