X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2Felf-m10300.c;h=f0ef8eb0bed52baef5f324f3e9b8c3a8a261b6f5;hb=93cb9841d68263174a600dc70af742a8e2eabfc6;hp=398636ae0edefcaa24a969dfa3c186463dc8be6e;hpb=827041555ac443bd57340060f3e034fd7b199dd8;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/elf-m10300.c b/bfd/elf-m10300.c index 398636ae0e..f0ef8eb0be 100644 --- a/bfd/elf-m10300.c +++ b/bfd/elf-m10300.c @@ -1136,9 +1136,7 @@ mn10300_elf_check_relocs (bfd *abfd, /* This relocation describes which C++ vtable entries are actually used. Record for later use during GC. */ case R_MN10300_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)) goto fail; break;