summaryrefslogtreecommitdiffstats
path: root/util/cbfstool/elfparsing.h
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2015-10-28 10:09:07 -0500
committerAaron Durbin <adurbin@chromium.org>2015-10-29 17:00:38 +0100
commit8e982eabfacf9cce5bcc011ee2c23ca7ced4b05c (patch)
tree4b9f5275a8fd39e61f8a3ae5dbdd1aa17a5461ff /util/cbfstool/elfparsing.h
parent5a1e85c405782731d298225482927fedb733a329 (diff)
downloadcoreboot-8e982eabfacf9cce5bcc011ee2c23ca7ced4b05c.tar.gz
coreboot-8e982eabfacf9cce5bcc011ee2c23ca7ced4b05c.tar.bz2
coreboot-8e982eabfacf9cce5bcc011ee2c23ca7ced4b05c.zip
cbfstool: merge consecutive elf sections in program segments
Instead of creating a loadable segment for each section with SHF_ALLOC flag merge those sections into a single program segment. This makes more tidy readelf, but it also allows one to extract an rmodule into an ELF and turn it back into an rmodule. TEST=Extracted both regular stages and rmodule stages. Compared against original ELF files prior to cbfs insert. Change-Id: I0a600d2e9db5ee6c11278d8ad673caab1af6c759 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/12220 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/elfparsing.h')
0 files changed, 0 insertions, 0 deletions