]> git.baikalelectronics.ru Git - uboot.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)
commit2e40acdcf3ab17aaccd41e6a5eb34b9dfbf4dc10
tree9f2180a16ffa975ed1f1e900e3f43d16c18bf873
parentfc25c87bbdb4591416b2c0f6b2864cd344e80023
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