[PATCH v2] arm64: relocation testing module

Catalin Marinas catalin.marinas at arm.com
Tue Apr 4 09:03:47 PDT 2017


On Fri, Mar 31, 2017 at 08:55:33AM +0100, Ard Biesheuvel wrote:
> This module tests the module loader's ELF relocation processing
> routines. When loaded, it logs output like below.
> 
>     Relocation test:
>     -------------------------------------------------------
>     R_AARCH64_ABS64                 0xffff880000cccccc pass
>     R_AARCH64_ABS32                 0x00000000f800cccc pass
>     R_AARCH64_ABS16                 0x000000000000f8cc pass
>     R_AARCH64_MOVW_SABS_Gn          0xffff880000cccccc pass
>     R_AARCH64_MOVW_UABS_Gn          0xffff880000cccccc pass
>     R_AARCH64_ADR_PREL_LO21         0xffffff9cf4d1a400 pass
>     R_AARCH64_PREL64                0xffffff9cf4d1a400 pass
>     R_AARCH64_PREL32                0xffffff9cf4d1a400 pass
>     R_AARCH64_PREL16                0xffffff9cf4d1a400 pass
> 
> Acked-by: Will Deacon <will.deacon at arm.com>
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>

Queued for 4.12. Thanks.

-- 
Catalin



More information about the linux-arm-kernel mailing list