]> git.baikalelectronics.ru Git - uboot.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)
commit7701f8d5c9d4f887ed696eae7215be1d45ab3fd4
tree007a9ffc803a6eb9a75b6c514005bc5a154a9984
parentd6efeb6df050fbcb3c5bc70ad961627d846be465
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]