ocloc zebin validator

Change-Id: I56bd384a0af4f3460a41850bf178c4163b812221
This commit is contained in:
Jaroslaw Chodor
2020-08-12 17:08:48 +02:00
committed by sys_ocldev
parent 2990de538f
commit 51d00dbc47
9 changed files with 232 additions and 7 deletions

View File

@@ -773,7 +773,6 @@ DecodeError decodeSingleDeviceBinary<NEO::DeviceBinaryFormat::Zebin>(ProgramInfo
}
if (false == zebinSections.symtabSections.empty()) {
dst.prepareLinkerInputStorage();
auto expectedSymSize = sizeof(NEO::Elf::ElfSymbolEntry<Elf::EI_CLASS_64>);
auto gotSymSize = zebinSections.symtabSections[0]->header->entsize;
if (expectedSymSize != gotSymSize) {