From: ard.biesheuvel@linaro.org (Ard Biesheuvel)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/2] Make badr macro compatible with newer GAS versions
Date: Tue, 19 Jun 2018 21:26:31 +0200 [thread overview]
Message-ID: <20180619192633.21846-1-ard.biesheuvel@linaro.org> (raw)
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
arch/arm/common/mcpm_head.S | 5 ++---
arch/arm/include/asm/assembler.h | 22 +++++++++++++++++++-
arch/arm/kernel/head-nommu.S | 7 +++----
arch/arm/kernel/head.S | 15 +++++++------
arch/arm/kernel/sleep.S | 7 +++----
5 files changed, 36 insertions(+), 20 deletions(-)
--
2.17.1
next reply other threads:[~2018-06-19 19:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-19 19:26 Ard Biesheuvel [this message]
2018-06-19 19:26 ` [PATCH 1/2] ARM: avoid badr macro for switching to Thumb-2 mode Ard Biesheuvel
2018-06-19 19:26 ` [PATCH 2/2] ARM: assembler: prevent ADR from setting the Thumb bit twice Ard Biesheuvel
2018-06-19 20:32 ` [PATCH 0/2] Make badr macro compatible with newer GAS versions Guenter Roeck
2018-06-19 20:34 ` Ard Biesheuvel
2018-06-19 20:45 ` Guenter Roeck
2018-06-19 22:23 ` Ard Biesheuvel
2018-06-19 22:50 ` Guenter Roeck
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=20180619192633.21846-1-ard.biesheuvel@linaro.org \
--to=ard.biesheuvel@linaro.org \
--cc=linux-arm-kernel@lists.infradead.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).