[PATCH] arm: boot/compressed: fix decompressor header layout for v7-M
Russell King - ARM Linux
linux at armlinux.org.uk
Fri May 19 11:33:49 PDT 2017
On Fri, May 19, 2017 at 06:58:16PM +0100, Robin Murphy wrote:
> Ah, I knew I'd have overlooked something - that makes sense.
>
> FWIW, my final thought is this:
>
> add r12, pc, #5
> mov r0, r0
> mov pc, r12
>
> Which I think should leave you in Thumb regardless of which ISA it's
> assembled in, thanks to the wackiness of ALUWritePC().
You only have four bytes to fit whatever code in here.
--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
More information about the linux-arm-kernel
mailing list