]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: module: add support for place relative relocations
authorArd Biesheuvel <ardb@kernel.org>
Mon, 14 Sep 2020 08:24:37 +0000 (11:24 +0300)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 28 Oct 2020 15:59:43 +0000 (16:59 +0100)
commitc26becdd5d4380f3879df0935c285442227ee1a0
treed6abcefd96fe61aa0c89e6f648d8d08ddb7a6591
parent76e463bd7e19098dd4ed6d2fc9817a3719030d55
ARM: module: add support for place relative relocations

When using the new adr_l/ldr_l/str_l macros to refer to external symbols
from modules, the linker may emit place relative ELF relocations that
need to be fixed up by the module loader. So add support for these.

Reviewed-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/arm/include/asm/elf.h
arch/arm/kernel/module.c