diff options
author | Simon Glass <sjg@chromium.org> | 2024-08-26 13:11:39 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2024-09-26 12:40:30 +0200 |
commit | 01a609930b996499b36418108125ee53ab7094b5 (patch) | |
tree | 748967827daf391f922da36539595a4767c64565 /tools/binman/elf.py | |
parent | f2154c30f6174eb27dfe92c91950f6436f802f1b (diff) |
binman: Add minor improvements to symbol-writing
Add a clarification to the documentation and add a missing comment. Also
update the test so that when it fails it is easier to see what is going
on, rather than having to decode hex strings.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/elf.py')
-rw-r--r-- | tools/binman/elf.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/binman/elf.py b/tools/binman/elf.py index 1c3b1e225f4..73394830ebe 100644 --- a/tools/binman/elf.py +++ b/tools/binman/elf.py @@ -247,7 +247,8 @@ def LookupAndWriteSymbols(elf_fname, entry, section, is_elf=False, entry entry: Entry to process section: Section which can be used to lookup symbol values - base_sym: Base symbol marking the start of the image + base_sym: Base symbol marking the start of the image (__image_copy_start + by default) Returns: int: Number of symbols written |