[PATCH] arm: boot/compressed: fix decompressor header layout for v7-M
Russell King - ARM Linux
linux at armlinux.org.uk
Fri May 19 10:37:13 PDT 2017
On Fri, May 19, 2017 at 06:16:36PM +0100, Robin Murphy wrote:
> On 19/05/17 17:59, Ard Biesheuvel wrote:
> > Indeed. Apart from the error in the second line, this sequence should
> > be equivalent, but the nested macro invocations don't make it clearer
> > imo.
> >
> > I could add some more comments as well if that helps?
>
> Hmm, couldn't it be ISA-agnostic?
>
> ldr pc, 1f
> .ltorg
> THUMB( .thumb )
> ...
>
> given that that should be interworking on anything where THUMB() is
> valid in the first place.
Unfortunately not, this is PIC code, so we must not have anything that
contains an absolute address. LDR to branch is out of the question.
--
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