Make valgrind happy

This commit is contained in:
Henrik Rydgård committed 2022-09-23 12:24:43 +02:00
1 parent ac3eb876a8
commit ac7ca963db
6 files changed
+30 -29

No files matched your search

+2 -1
View File
@@ -583,7 +583,8 @@ int ElfReader::LoadInto(u32 loadAddress, bool fromTop)
{
if (!(sections[sectionToModify].sh_flags & SHF_ALLOC))
{
ERROR_LOG_REPORT(LOADER, "Trying to relocate non-loaded section %s, ignoring", GetSectionName(sectionToModify));
// Generally stuff like debug info. We don't need it.
INFO_LOG(LOADER, "Skipping relocation of non-loaded section %s", GetSectionName(sectionToModify));
continue;
}
}