Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry
[deliverable/binutils-gdb.git] / bfd / elf32-fr30.c
index 3a0c3ae209ec372fb91b218906a0c7b216d98152..6a13767c7ae6a7f1271b16116e92084d3892c0bc 100644 (file)
@@ -687,9 +687,7 @@ fr30_elf_check_relocs (bfd *abfd,
        /* This relocation describes which C++ vtable entries are actually
           used.  Record for later use during GC.  */
        case R_FR30_GNU_VTENTRY:
-         BFD_ASSERT (h != NULL);
-         if (h != NULL
-             && !bfd_elf_gc_record_vtentry (abfd, sec, h, rel->r_addend))
+         if (!bfd_elf_gc_record_vtentry (abfd, sec, h, rel->r_addend))
            return FALSE;
          break;
        }
This page took 0.024342 seconds and 4 git commands to generate.