diff options
author | Aaron Durbin <adurbin@chromium.org> | 2017-12-18 14:50:22 -0700 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-12-19 22:28:20 +0000 |
commit | facf14996c32efef0c0bf63c0424069858787c6e (patch) | |
tree | f9710c9213a905ca8d71ba4b1a581923315f148e /src/lib/gcov-io.c | |
parent | 60d9ce3937f15cff56218a08d9ccfd5d0358fbfc (diff) |
util/cbfstool: calculate cbfs file size for xip stages
The initial lookup for cbfs location for xip stages is implicitly
using the ELF size assuming it's relatively equivalent. However,
if the ELF that is being converted contains debug information or
other metadata then the location lookup can fail because the ELF is
considerably bigger than the real footprint.
BUG=b:70801221
Change-Id: I47024dcd8205a09885d3a3f76e255eb5e3c55d9e
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/22936
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/lib/gcov-io.c')
0 files changed, 0 insertions, 0 deletions