summaryrefslogtreecommitdiffstats
path: root/util/cbfstool/elfheaders.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2015-10-27 21:02:30 -0500
committerAaron Durbin <adurbin@chromium.org>2015-10-29 17:00:24 +0100
commit5a1e85c405782731d298225482927fedb733a329 (patch)
treecf57bfa9a23e325c21a9224fc8d551c22500befd /util/cbfstool/elfheaders.c
parent4f930c96496250d167bc1a397fa1faa9f20b3168 (diff)
downloadcoreboot-5a1e85c405782731d298225482927fedb733a329.tar.gz
coreboot-5a1e85c405782731d298225482927fedb733a329.tar.bz2
coreboot-5a1e85c405782731d298225482927fedb733a329.zip
cbfstool: create ELF files when extracting stages
Instead of dumping the raw stage data when cbfstool extract is used on stage create an equivalent ELF file. Because there isn't a lot of information within a stage file only a rudimentary ELF can be created. Note: this will break Chrome OS' current usage of extract since the file is no longer a cbfs_stage. It's an ELF file. TEST=Extracted romstage from rom. Change-Id: I8d24a7fa4c5717e4bbba5963139d0d9af4ef8f52 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/12219 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'util/cbfstool/elfheaders.c')
0 files changed, 0 insertions, 0 deletions