elfloader/shoehorn: handle gaps between loadable elf segments

Correct the calculated memory needed to load an elf image. Using only
the p_memsz value ignores gaps between segments; instead calculate the
first+last addresses using p_vaddr & p_memsz.

Change-Id: Iba77d1bf8f051eca32d5aedd601d25d2ec84a0d6
1 file changed
tree: 25f7a653489b62c6aaa84b785232ae20e250cc3e
  1. .github/
  2. .reuse/
  3. cmake-tool/
  4. elfloader-tool/
  5. kmem-tool/
  6. LICENSES/
  7. misc/
  8. .cmake-format.yaml
  9. .gitignore
  10. .licenseignore
  11. .stylefilter
  12. LICENSE.md
  13. README.md
README.md

seL4_tools

Provides tools used to build seL4 projects. Also collects common config and tools for style checks.

Contributing

Contributions welcome!

See the CONTRIBUTING file for more.