diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2020-09-14 12:28:01 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-10-28 19:05:39 +0300 |
commit | 67e3f828bd4bf5e4eb4214dc4eb227d8f1c8a877 (patch) | |
tree | c2c0b927c43ac88a2ca8f1c45068323c2fb2b0b4 /arch/arm/kernel/head-common.S | |
parent | 9443076e4330a14ae2c6114307668b98a8293b77 (diff) | |
download | linux-67e3f828bd4bf5e4eb4214dc4eb227d8f1c8a877.tar.xz |
ARM: efistub: replace adrl pseudo-op with adr_l macro invocation
The ARM 'adrl' pseudo instruction is a bit problematic, as it does not
exist in Thumb mode, and it is not implemented by Clang either. Since
the Thumb variant has a slightly bigger range, it is sometimes necessary
to emit the 'adrl' variant in ARM mode where Thumb mode can use adr just
fine. However, that still leaves the Clang issue, which does not appear
to be supporting this any time soon.
So let's switch to the adr_l macro, which works for both ARM and Thumb,
and has unlimited range.
Reviewed-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'arch/arm/kernel/head-common.S')
0 files changed, 0 insertions, 0 deletions