diff --git a/loader/src/plugin/PluginLoader.cpp b/loader/src/plugin/PluginLoader.cpp index d370c3e..b094cc6 100644 --- a/loader/src/plugin/PluginLoader.cpp +++ b/loader/src/plugin/PluginLoader.cpp @@ -301,7 +301,7 @@ bool PluginLoader::loadAndLinkElf(PluginData * pluginData, Elf *elf, void * endA goto exit_error; } - DEBUG_FUNCTION_LINE("Copy section %s to %08X\n",name,curAddress); + //DEBUG_FUNCTION_LINE("Copy section %s to %08X\n",name,curAddress); if (!ElfTools::elfLoadSection(elf, scn, shdr, (void*) curAddress)){ goto exit_error; } @@ -310,10 +310,6 @@ bool PluginLoader::loadAndLinkElf(PluginData * pluginData, Elf *elf, void * endA } } - if (entries == NULL){ - goto exit_error; - } - for (scn = elf_nextscn(elf, NULL); scn != NULL; scn = elf_nextscn(elf, scn)) { Elf32_Shdr *shdr;