diff options
author | Alan Modra <amodra@bigpond.net.au> | 2004-10-05 11:12:56 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2004-10-05 11:12:56 +0000 |
commit | 416958e8ba65224454ece303611c45700683fe70 (patch) | |
tree | c6229f399acae197463aff20601d72ceb06af9e5 /bfd/syms.c | |
parent | 0dbd873d1753f5bac2a6ddb7761e92cd0e741ee1 (diff) | |
download | gdb-416958e8ba65224454ece303611c45700683fe70.tar.gz |
PR 425
* syms.c (_bfd_stab_section_find_nearest_line): Ignore R_*_NONE relocs.
Diffstat (limited to 'bfd/syms.c')
-rw-r--r-- | bfd/syms.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/syms.c b/bfd/syms.c index 6b615a2b5f4..ca4584c1a11 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 |