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
/
elf32-csky.c
diff --git
a/bfd/elf32-csky.c
b/bfd/elf32-csky.c
index fb380b1395d76eeb48be49273973ec279693bdf7..b3451b60b217720e9ce4bb5fcf0d1d34fd4812f0 100644
(file)
--- a/
bfd/elf32-csky.c
+++ b/
bfd/elf32-csky.c
@@
-2873,9
+2873,7
@@
csky_elf_check_relocs (bfd * abfd,
/* This relocation describes which C++ vtable entries are actually
used. Record for later use during GC. */
case R_CKCORE_GNU_VTENTRY:
/* This relocation describes which C++ vtable entries are actually
used. Record for later use during GC. */
case R_CKCORE_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;
}
return FALSE;
break;
}
This page took
0.023334 seconds
and
4
git commands to generate.