]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Support finding symbols in sub-sections
authorSimon Glass <sjg@chromium.org>
Thu, 7 Jan 2021 04:35:15 +0000 (21:35 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 30 Jan 2021 21:25:41 +0000 (14:25 -0700)
commit870a9ead569ce8ee1f9fc03d178b56e012465582
tree68b18615bdfce0c7c573401b90ed481b33f259bc
parent1ecf3b8f274f2fc66317d73532c82639f661f3ef
binman: Support finding symbols in sub-sections

At present binman only supports resolving symbols in the same section as
the binary that uses it. This is quite limited because we often need to
group entries into different sections.

Enhance the algorithm to search the entire image for symbols.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/elf.py
tools/binman/elf_test.py
tools/binman/etype/section.py
tools/binman/ftest.py
tools/binman/image.py
tools/binman/test/187_symbols_sub.dts [new file with mode: 0644]