summaryrefslogtreecommitdiff
path: root/tools/binman/cmdline.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-07-17 13:25:24 -0600
committerSimon Glass <sjg@chromium.org>2018-08-01 16:27:28 -0600
commit46d61a2f2aeefcd622c9678716429e68a3a98811 (patch)
tree64b8e5bfe6f7ea30cb1a5f27118a17f3cd780a59 /tools/binman/cmdline.py
parent61523dde17d1539b8ea361e25909acfdfc465155 (diff)
downloadu-boot-46d61a2f2aeefcd622c9678716429e68a3a98811.tar.gz
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>
Diffstat (limited to 'tools/binman/cmdline.py')
0 files changed, 0 insertions, 0 deletions