elf: Add a way to read segment information from an ELF file
Add a function which reads the segments and the entry address.
Also fix a comment nit in the tests while we are here.
Signed-off-by:
Simon Glass <sjg@chromium.org>
Loading
Please register or sign in to comment