ARM: OMAP2+: drop unnecessary adrl
authorStefan Agner <stefan@agner.ch>
Sun, 29 Mar 2020 20:33:14 +0000 (22:33 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 21 Apr 2020 16:41:53 +0000 (09:41 -0700)
commitd85d5247885ef2e8192287b895c2e381fa931b0b
tree5518a1afc06baf0944bc4d0e3084e4328466dbd2
parent8f3d9f354286745c751374f5f1fcafee6b3f3136
ARM: OMAP2+: drop unnecessary adrl

The adrl instruction has been introduced with commit dd31394779aa ("ARM:
omap3: Thumb-2 compatibility for sleep34xx.S"), back when this assembly
file was considerably longer. Today adr seems to have enough reach, even
when inserting about 60 instructions between the use site and the label.
Replace adrl with conventional adr instruction.

This allows to build this file using Clang's integrated assembler (which
does not support the adrl pseudo instruction).

Link: https://github.com/ClangBuiltLinux/linux/issues/430
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/sleep34xx.S