Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/b22501b408ddb0503a06a188b06d9cff9be697cd >--------------------------------------------------------------- commit b22501b408ddb0503a06a188b06d9cff9be697cd Author: Ben Gamari <[email protected]> Date: Wed Oct 12 00:49:12 2011 -0400 Add linker support for ELF on ARM Add support for ELF objects on ARM to the runtime linker. While the list of relocation types in the "ELF for the ARM Architecture" specification spans four pages, we thankfully only see a handful of these in the wild. Thus, at the moment we only support the following .rel relocation types, * R_ARM_ABS32 * R_ARM_TARGET1 * R_ARM_REL32 * R_ARM_CALL * R_ARM_JUMP24 * R_ARM_MOVT_ABS * R_ARM_MOVW_ABS_NC * R_ARM_THM_CALL * R_ARM_THM_JUMP24 * R_ARM_THM_MOVT_ABS * R_ARM_THM_MOVW_ABS_NC * R_ARM_THM_JUMP8 * R_ARM_THM_JUMP11 Signed-off-by: Ben Gamari <[email protected]> mk/config.mk.in | 2 +- rts/Linker.c | 345 +++++++++++++++++++++++++++++++++++++++++++++++-- rts/LinkerInternals.h | 6 +- 3 files changed, 341 insertions(+), 12 deletions(-) Diff suppressed because of size. To see it, use: git show b22501b408ddb0503a06a188b06d9cff9be697cd _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
