diff options
author | Alan Modra <amodra@gmail.com> | 2004-10-05 11:12:56 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-10-05 11:12:56 +0000 |
commit | 7785be14ef74ad52d2be14c2ba607d5fa64dd68f (patch) | |
tree | 9cedd24ffb87b744207da7992313dc828016369b /bfd/syms.c | |
parent | 73cb587da48f2fe733c238aad5dd89d8f797e364 (diff) | |
download | gdb-7785be14ef74ad52d2be14c2ba607d5fa64dd68f.zip gdb-7785be14ef74ad52d2be14c2ba607d5fa64dd68f.tar.gz gdb-7785be14ef74ad52d2be14c2ba607d5fa64dd68f.tar.bz2 |
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
@@ -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 |