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>
Showing
- tools/binman/elf.py 50 additions, 3 deletionstools/binman/elf.py
- tools/binman/elf_test.py 37 additions, 0 deletionstools/binman/elf_test.py
- tools/binman/test/Makefile 4 additions, 1 deletiontools/binman/test/Makefile
- tools/binman/test/bss_data.c 1 addition, 1 deletiontools/binman/test/bss_data.c
- tools/binman/test/embed_data.c 16 additions, 0 deletionstools/binman/test/embed_data.c
- tools/binman/test/embed_data.lds 23 additions, 0 deletionstools/binman/test/embed_data.lds
tools/binman/test/embed_data.c
0 → 100644
tools/binman/test/embed_data.lds
0 → 100644
Please register or sign in to comment