commit | 24ad3659171c787084f156a812b59ae1d686afe8 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Nov 13 18:54:54 2017 -0700 |
committer | Simon Glass <sjg@chromium.org> | Tue Dec 12 19:53:45 2017 -0700 |
tree | ec72ed0ab95983e04c4d4697d3af70aac64ff33b | |
parent | 148e50519c863b4393851aeffbeb09424073926d [diff] |
binman: Add a function to read ELF symbols In some cases we need to read symbols from U-Boot. At present we have a a few cases which does this via 'nm' and 'grep'. It is better to use objdump since that tells us the size of the symbols and also whether it is weak or not. Add a new module which reads ELF information from files. Update existing uses of 'nm' to use this module. Signed-off-by: Simon Glass <sjg@chromium.org>