]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Provide a way to set the symbol base address
authorSimon Glass <sjg@chromium.org>
Mon, 26 Aug 2024 19:11:40 +0000 (13:11 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 26 Sep 2024 10:40:30 +0000 (12:40 +0200)
commitbce055338eabdac46d34c781753e05486898325a
tree81b24b4f51e790dee7d6556ba3be6ede215e96d3
parent01a609930b996499b36418108125ee53ab7094b5
binman: Provide a way to set the symbol base address

The base address of the ELF containing symbols is normally added to
any symbols written, so that the value points to the correct address in
memory when everything is loaded. When the binary resides on disk, a
different offset may be needed, typically 0. Provide a way to specify
this.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/binman.rst
tools/binman/elf.py
tools/binman/entry.py
tools/binman/etype/blob_phase.py
tools/binman/ftest.py
tools/binman/test/336_symbols_base.dts [new file with mode: 0644]
tools/binman/test/337_symbols_base_expand.dts [new file with mode: 0644]