In some cases it is useful to position an entry over the top of a symbol in an ELF file. For example, if the symbol holds a version string then it allows the string to be accessed from the fdtmap.
Add support for this. Suggested-by: Pali Rohár <p...@kernel.org> Suggested-by: Keith Short <keithsh...@chromium.org> Signed-off-by: Simon Glass <s...@chromium.org> --- tools/binman/binman.rst | 7 ++++++ tools/binman/elf.py | 23 +++++++++++++++++ tools/binman/entry.py | 19 +++++++++++++- tools/binman/ftest.py | 28 +++++++++++++++++++++ tools/binman/test/274_offset_from_elf.dts | 30 +++++++++++++++++++++++ 5 files changed, 106 insertions(+), 1 deletion(-) create mode 100644 tools/binman/test/274_offset_from_elf.dts Applied to u-boot-dm, thanks!