On Tue, Jun 19, 2018 at 09:26:31PM +0200, Ard Biesheuvel wrote: > Work around the mindless and backward incompatible change in GAS that > prevents us from using a simple addition to set the Thumb bit in local > symbol references taken using 'adr' instructions (#2) > > As a preparatory step, remove badr occurrences in ARM code sequences > contained in Thumb2 kernels. > > Ard Biesheuvel (2): > ARM: avoid badr macro for switching to Thumb-2 mode > ARM: assembler: prevent ADR from setting the Thumb bit twice >
This doesn't work for images built with a toolchain based on gcc 7.3.0 and binutils 2.28.1. It _does_ work for images built with gcc 7.3.0/ binutils 2.30. Guenter

