commit | e6854aad5b99aa3ecd496acd6e4d5e3b519287ed | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Jul 17 13:25:24 2018 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Aug 01 16:27:28 2018 -0600 |
tree | 64b8e5bfe6f7ea30cb1a5f27118a17f3cd780a59 | |
parent | 9c00b276313827c9e075c39206607d40d0812be6 [diff] |
binman: Don't depend on dict order in ELF testOutsideFile() At present this test assumes that the symbols are returned in address order. However, objdump can list symbols in any order and dictionaries do not guarantee any particular order when iterating through item. Update elf.GetSymbols() to return an OrderedDict, sorted by address, to avoid any problems. Signed-off-by: Simon Glass <sjg@chromium.org>