rmodtool: add support for ARM

Hardware / Coreboot - Aaron Durbin [chromium.org] - 28 October 2014 12:15 UTC

Add support for creating ARM rmodules. There are 3 expected relocations for an ARM rmodule:- R_ARM_ABS32- R_ARM_THM_PC22- R_ARM_THM_JUMP24

R_ARM_ABS32 is the only type that needs to emitted for relocation as the other 2 are relative relocations.

BUG=chrome-os-partner:27094 BRANCH=None TEST=Built vbootstub for ARM device.

Original-Change-Id: I0c22d4abca970e82ccd60b33fed700b96e3e52fb

785e47b rmodtool: add support for ARM
util/cbfstool/elf.h | 1 +
util/cbfstool/rmodule.c | 26 ++++++++++++++++++++++++++
2 files changed, 27 insertions(+)

Upstream: review.coreboot.org


  • Share