diff options
author | Aaron Durbin <adurbin@chromium.org> | 2015-10-28 11:39:34 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2015-10-29 17:01:03 +0100 |
commit | 694fd133905ba6c87b2cef59b841660d1d82aeaa (patch) | |
tree | 754b2fb64a6502d398cb49d0c1149273caa6f40b /util/cbfstool/fmd.c | |
parent | cedcb882c1f0a2b9b61ffed9a646744d3e481e60 (diff) | |
download | coreboot-694fd133905ba6c87b2cef59b841660d1d82aeaa.tar.xz |
cbfstool: extract rmodules as ELFs properly
With the previous ELF stage extract support the resulting
ELF files wouldn't handle rmodules correctly in that the
rmodule header as well as the relocations were a part of
the program proper. Instead, try an initial pass at
converting the stage as if it was an rmodule first. If it
doesn't work fall back on the normal ELF extraction.
TEST=Pulled an rmodule out of Chrome OS shellball. Manually
matched up the metadata and relocations.
Change-Id: Iaf222f92d145116ca4dfaa955fb7278e583161f2
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/12222
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'util/cbfstool/fmd.c')
0 files changed, 0 insertions, 0 deletions