Support for R_ARM_[THM_]MOV{W,T}_ABS[_NC} relocs
commit2fe7fd9e875979d0947c17609b64799219485d2d
authorThomas Preud'homme <robotux@celest.fr>
Sun, 7 Oct 2012 15:48:46 +0000 (7 17:48 +0200)
committerThomas Preud'homme <robotux@celest.fr>
Tue, 9 Oct 2012 22:19:43 +0000 (10 00:19 +0200)
treeb0e5449c3dc18206cc8cc58992386a7f84e7ef65
parent3d409b08893873b917ccb8c34398bc41a4e84d7c
Support for R_ARM_[THM_]MOV{W,T}_ABS[_NC} relocs

Add support for relocations R_ARM_MOVW_ABS_NC and R_ARM_MOVT_ABS as well
as their Thumb2 counterpart R_ARM_THM_MOVW_ABS_NC and
R_ARM_THM_MOVT_ABS. These are encountered with gcc when compiling for
armv7-a and a data is loaded in a register, either in arm or Thumb2
mode. The first half of the data is loaded with movw ; the second half
is loaded with movt.
elf.h
tccelf.c