diff options
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r-- | bfd/elfxx-mips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index e9fb61f..5b66cb8 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -16572,7 +16572,7 @@ _bfd_mips_elf_get_synthetic_symtab (bfd *abfd, return 0; plt = bfd_get_section_by_name (abfd, ".plt"); - if (plt == NULL) + if (plt == NULL || (plt->flags & SEC_HAS_CONTENTS) == 0) return 0; slurp_relocs = get_elf_backend_data (abfd)->s->slurp_reloc_table; |