aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-07-20 11:49:36 +0100
committerSimon Glass <sjg@chromium.org>2024-07-29 08:42:18 -0600
commit9b37db6b770fa0e001d9526edd43f23b8b4c6368 (patch)
tree3d4d72c2d0637922d28d18d1eeff14813b08d306 /tools
parentbcc8f0853ba8f3b42157b6d05702716234219f4e (diff)
downloadu-boot-9b37db6b770fa0e001d9526edd43f23b8b4c6368.tar.gz
binman: elf: Add more debugging to LookupAndWriteSymbols()
When symbol-writing does not appear to work, it can sometimes be hard to figure out what is going on. Add some more debugging to help. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/binman/elf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/binman/elf.py b/tools/binman/elf.py
index 2ecc95f7eb8..a4694056391 100644
--- a/tools/binman/elf.py
+++ b/tools/binman/elf.py
@@ -275,7 +275,7 @@ def LookupAndWriteSymbols(elf_fname, entry, section, is_elf=False,
return 0
base = syms.get(base_sym)
if not base and not is_elf:
- tout.debug('LookupAndWriteSymbols: no base')
+ tout.debug(f'LookupAndWriteSymbols: no base: elf_fname={elf_fname}, base_sym={base_sym}, is_elf={is_elf}')
return 0
base_addr = 0 if is_elf else base.address
count = 0