[coreboot-gerrit] Patch merged into coreboot/master: cbfstool: add ELF symbol, relocation, and string table support

gerrit at coreboot.org gerrit at coreboot.org
Thu Oct 29 17:00:53 CET 2015


the following patch was just integrated into master:
commit cedcb882c1f0a2b9b61ffed9a646744d3e481e60
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Wed Oct 28 11:26:40 2015 -0500

    cbfstool: add ELF symbol, relocation, and string table support
    
    In order to convert rmodules back into ELF files one needs
    to add in the relocations so they can be converted back to
    rmodules. Because of that requirement symbol tables need
    to be present because the relocations reference the symbols.
    Additionally, symbol tables reference a string table for the
    symbol names. Provide the necessary support for adding all
    of those things to an ELF writer.
    
    TEST=Extracted rmodule from a cbfs and compared with the
         source ELF file. Confirmed relocations and code sizes
         are correct.
    
    Change-Id: I07e87a30b3371ddedabcfc682046e3db8c956ff2
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
    Reviewed-on: http://review.coreboot.org/12221
    Tested-by: build bot (Jenkins)
    Reviewed-by: Patrick Georgi <pgeorgi at google.com>
    Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>


See http://review.coreboot.org/12221 for details.

-gerrit



More information about the coreboot-gerrit mailing list