the following patch was just integrated into master: commit 5cf859ce68b7890d5ca376e91d31930164522639 Author: Aaron Durbin adurbin@chromium.org Date: Fri Mar 7 15:11:53 2014 -0600
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
See http://review.coreboot.org/5378 for details.
-gerrit