mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 08:38:38 +08:00
ELF: Fix compilation error when CONFIG_ELF_DUMPBUFFER is defined. From Pelle Windestam
This commit is contained in:
parent
3bfc1effaf
commit
d864c38e31
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ static int elf_loadbinary(struct binary_s *binp)
|
|||
#endif
|
||||
|
||||
elf_dumpbuffer("Entry code", (FAR const uint8_t*)binp->entrypt,
|
||||
MIN(loadinfo.allocsize - loadinfo.ehdr.e_entry, 512));
|
||||
MIN(loadinfo.elfsize - loadinfo.ehdr.e_entry, 512));
|
||||
|
||||
elf_uninit(&loadinfo);
|
||||
return OK;
|
||||
|
|
Loading…
Reference in a new issue