summaryrefslogtreecommitdiff
path: root/util/cbfstool/coff.h
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2014-01-21 15:28:38 -0600
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-01-24 04:48:05 +0100
commit1ebc7e943b1e48ed0b2c385d64cbe1c88693ac37 (patch)
tree0017e82aad06fbc0b7ffb99cb3ec323e81615810 /util/cbfstool/coff.h
parent9c70adf26d810405f22ea9f07a10d4f56fee3cb8 (diff)
cbfstool: correct size left calculation for "empty" entries
After removing a file sandwiched between two other files, that file could no longer be re-added at the same location. cbfstool tried to add the file, and a new "empty" entry, which, together, would no longer fit, so it continued checking for the next available space. Change the behavior to add the file if there is enough space for the file alone, then only add the "empty" entry if there is enough space for it. Change-Id: Iad3897dd28cf12f12ae877cfd83e1990fa7d2f0f Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/4772 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'util/cbfstool/coff.h')
0 files changed, 0 insertions, 0 deletions