diff options
Diffstat (limited to 'bfd/elf32-vax.c')
-rw-r--r-- | bfd/elf32-vax.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/bfd/elf32-vax.c b/bfd/elf32-vax.c index aecc6bc..8901188 100644 --- a/bfd/elf32-vax.c +++ b/bfd/elf32-vax.c @@ -887,13 +887,7 @@ elf_vax_gc_mark_hook (abfd, info, rel, h, sym) } else { - if (!(elf_bad_symtab (abfd) - && ELF_ST_BIND (sym->st_info) != STB_LOCAL) - && ! ((sym->st_shndx <= 0 || sym->st_shndx >= SHN_LORESERVE) - && sym->st_shndx != SHN_COMMON)) - { - return bfd_section_from_elf_index (abfd, sym->st_shndx); - } + return bfd_section_from_elf_index (abfd, sym->st_shndx); } return NULL; |