]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Support reading the offset of an ELF-file symbol
authorSimon Glass <sjg@chromium.org>
Thu, 4 Nov 2021 03:09:16 +0000 (21:09 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 13 Nov 2021 15:16:39 +0000 (08:16 -0700)
commit056f0efd8ba20f382f120262c632545e6f06b4a5
tree007a9ffc803a6eb9a75b6c514005bc5a154a9984
parent2fb2cd75f3c2d8bdd8fc19f7a4291879ff89d840
binman: Support reading the offset of an ELF-file symbol

Binman needs to be able to update the contents of an ELF file after it has
been build. To support this, add a function to locate the position of a
symbol's contents within the file.

Fix the comments on bss_data.c and Symbol while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/elf.py
tools/binman/elf_test.py
tools/binman/test/Makefile
tools/binman/test/bss_data.c
tools/binman/test/embed_data.c [new file with mode: 0644]
tools/binman/test/embed_data.lds [new file with mode: 0644]