arm64/insn: add support for emitting ADR/ADRP instructions
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 22 Nov 2018 08:46:45 +0000 (09:46 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 27 Nov 2018 18:47:33 +0000 (18:47 +0000)
commit7aaf7b2fd26c3a069472dd9778367b2f941dd866
tree3e06b76441ce027300e0fa60620964bc5a0d892b
parentd8797b125711f23d83f5a71e908d34dfcd1fc3e9
arm64/insn: add support for emitting ADR/ADRP instructions

Add support for emitting ADR and ADRP instructions so we can switch
over our PLT generation code in a subsequent patch.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/insn.h
arch/arm64/kernel/insn.c