coreboot-kgpe-d16/util/cbfstool
Aaron Durbin 4fde5a66b4 util: add rmodtool for parsing ELF files to rmodules
The current implementation of creating rmodules relies
on invoking the linker in a certain manner with the
relocations overlaid on the BSS section. It's not really
surprising that the linker doesn't always behave the way
one wants depending on the linker used and the architecture.
Instead, introduce rmodtool which takes an ELF file as an
input, parses it, and creates a new ELF file in the format
the rmodule loader expects.

Change-Id: I31ac2d327d450ef841c3a7d9740b787278382bef
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/5378
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2014-03-20 21:34:39 +01:00
..
lzma cbfstool/lzma: Remove dead code under #ifdefs 2014-03-02 05:14:30 +01:00
EXAMPLE cbfstool: Update example file. 2013-02-04 11:12:15 +01:00
Makefile util: add rmodtool for parsing ELF files to rmodules 2014-03-20 21:34:39 +01:00
Makefile.inc util: add rmodtool for parsing ELF files to rmodules 2014-03-20 21:34:39 +01:00
cbfs-mkpayload.c cbfstool: add eflparsing.h 2014-03-13 05:28:44 +01:00
cbfs-mkstage.c cbfstool: add eflparsing.h 2014-03-13 05:28:44 +01:00
cbfs-payload-linux.c Change the linux payload generator to use the standard header generator 2014-02-05 01:00:34 +01:00
cbfs.h cbfstool: add eflparsing.h 2014-03-13 05:28:44 +01:00
cbfs_image.c cbfstool: add eflparsing.h 2014-03-13 05:28:44 +01:00
cbfs_image.h cbfstool: Deserialize CBFS master header when reading image 2014-02-11 20:14:39 +01:00
cbfstool.c cbfstool: add eflparsing.h 2014-03-13 05:28:44 +01:00
coff.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
common.c cbfstool: move iself() to eflheaders.c 2014-03-13 05:28:07 +01:00
common.h cbfstool: move iself() to eflheaders.c 2014-03-13 05:28:07 +01:00
compress.c cbfs: fix issues with word size and endianness. 2014-01-29 20:03:44 +01:00
elf.h cbfstool: add a constant for the aarch64 2013-11-18 16:58:58 +01:00
elfheaders.c cbfstool: add ELF writing support 2014-03-18 18:59:25 +01:00
elfparsing.h cbfstool: add ELF writing support 2014-03-18 18:59:25 +01:00
fit.c cbfstool: add eflparsing.h 2014-03-13 05:28:44 +01:00
fit.h cbfstool: Add update-fit command 2013-03-27 01:25:12 +01:00
fv.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
linux.h Add a (b)zImage parser to cbfstool 2013-08-31 08:58:34 +02:00
linux_trampoline.c cbfstool: Fix build errors when building with clang 2014-02-10 05:43:56 +01:00
rmodtool.c util: add rmodtool for parsing ELF files to rmodules 2014-03-20 21:34:39 +01:00
rmodule.c util: add rmodtool for parsing ELF files to rmodules 2014-03-20 21:34:39 +01:00
rmodule.h util: add rmodtool for parsing ELF files to rmodules 2014-03-20 21:34:39 +01:00
swab.h Various fixes to cbfstool. 2011-10-24 20:29:29 +02:00
xdr.c cbfstool: add bputs() to store a byte stream to a buffer 2014-03-11 19:43:17 +01:00