]> git.dujemihanovic.xyz Git - u-boot.git/commit
elf: Add a way to read segment information from an ELF file
authorSimon Glass <sjg@chromium.org>
Tue, 8 Feb 2022 18:49:55 +0000 (11:49 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 22 Feb 2022 17:05:44 +0000 (10:05 -0700)
commit4d38dd77f901a48736c540a9c7499816fa9b4d90
tree9f2180a16ffa975ed1f1e900e3f43d16c18bf873
parent206985ecb7a9aa32c4e9e2b757e0261b7922ddb8
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>
tools/binman/elf.py
tools/binman/elf_test.py