binman: Expand elf support a little
authorSimon Glass <sjg@chromium.org>
Fri, 4 Mar 2022 15:42:59 +0000 (08:42 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 10 Mar 2022 13:28:36 +0000 (08:28 -0500)
commit64defba4ea55736926c5152a245164ace58fa04e
tree2f1e684cb857b9fce575eea099a7d0a895ba7813
parentd41b703f453fbd539b0efde4238b1b02f9853870
binman: Expand elf support a little

Allow finding a symbol by its address. Also export the function to get
the file offset of a particular address, so it can be used by a script to
be added.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/elf.py