X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Felf32-m68k.c;h=0fe546661f5a12e85fcd43507b20294cb059f007;hb=a0ea3a14dc6a6062c0c1f2bfbb7ad0373ec20843;hp=8d0eab06f208b6bd389894f2898aaa93c61c58cb;hpb=9bff840e8cc560f5096a43609ed3e0d980733fd9;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c index 8d0eab06f2..0fe546661f 100644 --- a/bfd/elf32-m68k.c +++ b/bfd/elf32-m68k.c @@ -2801,9 +2801,7 @@ elf_m68k_check_relocs (bfd *abfd, /* This relocation describes which C++ vtable entries are actually used. Record for later use during GC. */ case R_68K_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;