projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry
[deliverable/binutils-gdb.git]
/
bfd
/
elf-m10300.c
diff --git
a/bfd/elf-m10300.c
b/bfd/elf-m10300.c
index 398636ae0edefcaa24a969dfa3c186463dc8be6e..f0ef8eb0bed52baef5f324f3e9b8c3a8a261b6f5 100644
(file)
--- 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:
/* 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;
goto fail;
break;
This page took
0.024254 seconds
and
4
git commands to generate.