linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Russell King <linux@armlinux.org.uk>,
	Nicolas Pitre <nicolas.pitre@linaro.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	Jonas Jensen <jonas.jensen@gmail.com>
Subject: Re: [PATCH] ARM: disallow ARM_THUMB for ARMv4 builds
Date: Fri, 16 Dec 2016 22:51:08 +0100	[thread overview]
Message-ID: <4112999.Nl7pxYH1YF@wuerfel> (raw)
In-Reply-To: <CAKv+Gu93Gtkh7spA-HUHNKSmDjhK_nuwR9KaDu8=S2GDyhUJCA@mail.gmail.com>

On Friday, December 16, 2016 5:20:22 PM CET Ard Biesheuvel wrote:
> 
> Can't we use the old
> 
> tst lr, #1
> moveq pc, lr
> bx lr
> 
> trick? (where bx lr needs to be emitted as a plain opcode to hide it
> from the assembler)
> 

Yes, that should work around the specific problem in theory, but back
when Jonas tried it, it still didn't work. There may also be other
problems in that configuration.

	Arnd

  reply	other threads:[~2016-12-16 21:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-16  9:14 [PATCH] ARM: disallow ARM_THUMB for ARMv4 builds Arnd Bergmann
2016-12-16 17:20 ` Ard Biesheuvel
2016-12-16 21:51   ` Arnd Bergmann [this message]
2016-12-18 11:57     ` Ard Biesheuvel
2016-12-18 14:16       ` Russell King - ARM Linux
2016-12-18 15:04         ` Ard Biesheuvel
2016-12-18 23:40           ` Russell King - ARM Linux
2016-12-19  4:10             ` Nicolas Pitre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4112999.Nl7pxYH1YF@wuerfel \
    --to=arnd@arndb.de \
    --cc=ard.biesheuvel@linaro.org \
    --cc=jonas.jensen@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=nicolas.pitre@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).