ARM: 6189/1: Add support for the MOVW/MOVT relocations in Thumb-2
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 21 Jun 2010 14:10:37 +0000 (15:10 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 5 Aug 2010 09:35:46 +0000 (10:35 +0100)
commit8dd47741d191400c46173ed9fba9d14b4033ce23
tree779be0554c1391a5f74e4598dce92cbdaa29b9c5
parent3cfc2c42c1cbc8e238bb9c0612c0df4565e3a8b4
ARM: 6189/1: Add support for the MOVW/MOVT relocations in Thumb-2

The patch adds handling case for the R_ARM_THM_MOVW_ABS_NC and
R_ARM_THM_MOVT_ABS relocations in arch/arm/kernel/module.c. Such
relocations may appear in Thumb-2 compiled kernel modules.

Reported-by: Kyungmin Park <kmpark@infradead.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/elf.h
arch/arm/kernel/module.c