diff options
Diffstat (limited to 'bfd/elf32-frv.c')
-rw-r--r-- | bfd/elf32-frv.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bfd/elf32-frv.c b/bfd/elf32-frv.c index ebc101ede87..8c6a97dea26 100644 --- a/bfd/elf32-frv.c +++ b/bfd/elf32-frv.c @@ -6237,9 +6237,7 @@ elf32_frv_check_relocs (bfd *abfd, /* This relocation describes which C++ vtable entries are actually used. Record for later use during GC. */ case R_FRV_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; |