diff options
author | Aaron Durbin <adurbin@chromium.org> | 2014-03-07 15:11:53 -0600 |
---|---|---|
committer | Aaron Durbin <adurbin@google.com> | 2014-03-20 21:34:39 +0100 |
commit | 4fde5a66b4a2b4117a45519ab0f63a9fd6bff835 (patch) | |
tree | fc69dd7a4833805f274d8a5ea89ac34065e3921d /src/lib/rmodule.c | |
parent | 36be8135d74964fa2eb03af44079d845c199486b (diff) | |
download | coreboot-4fde5a66b4a2b4117a45519ab0f63a9fd6bff835.tar.xz |
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>
Diffstat (limited to 'src/lib/rmodule.c')
0 files changed, 0 insertions, 0 deletions