binman: Update elf to return number of written symbols
authorSimon Glass <sjg@chromium.org>
Tue, 18 Jul 2023 13:23:56 +0000 (07:23 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 20 Jul 2023 20:10:58 +0000 (14:10 -0600)
commit7a58a0f319cab0a70d3cffabc2a5b4b322a5b5cf
treeb14095ff9891d378c77c1541b56c95b80c09587c
parent8163907adfa00a397928363889ac70a4647f017e
binman: Update elf to return number of written symbols

Update the LookupAndWriteSymbols() function to return the number of
symbols written. Also add some logging for when debugging is not
enabled.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/elf.py
tools/binman/elf_test.py