After cached related fix, the ELF example is now functional

This commit is contained in:
Gregory Nutt
2014-08-24 14:12:45 -06:00
parent a8034f495f
commit 7aea220ebf
10 changed files with 153 additions and 15 deletions
+1 -1
View File
@@ -257,7 +257,7 @@ static int elf_loadbinary(struct binary_s *binp)
#endif
elf_dumpbuffer("Entry code", (FAR const uint8_t*)binp->entrypt,
MIN(loadinfo.elfsize - loadinfo.ehdr.e_entry, 512));
MIN(loadinfo.textsize - loadinfo.ehdr.e_entry, 512));
elf_uninit(&loadinfo);
return OK;