Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: force linker to use PIC veneers
Date: Thu, 26 Mar 2015 12:22:04 +0000	[thread overview]
Message-ID: <20150326122203.GG8656@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <CAKv+Gu8ktOUcQrGOwMfbt8s2QG+RFdnKBykVfhXPTLSUFtWQyA@mail.gmail.com>

On Thu, Mar 26, 2015 at 01:20:16PM +0100, Ard Biesheuvel wrote:
> On 26 March 2015 at 12:36, Russell King - ARM Linux
> <linux@arm.linux.org.uk> wrote:
> > On Wed, Mar 25, 2015 at 10:46:14AM +0000, Dave Martin wrote:
> >> Hmmm, you seem to be right.
> >>
> >> Thumb has no bx <label> instruction, and veneers introduced by ld are
> >> always ARM code, so this looks tricky to avoid without patching ld.
> >>
> >> As you observe, this only impacts large kernels anyway.
> >>
> >> So,
> >>
> >> Reviewed-by: Dave Martin <Dave.Martin@arm.com>
> >
> > Someone needs to check what the result is like for older CPUs too.
> >
> 
> Any specific concerns? The --pic-veneer switch dates back to 2009, so
> it's been around for a while

BX.  Not every CPU supports BX.

-- 
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.

  reply	other threads:[~2015-03-26 12:22 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-24 10:16 [PATCH] ARM: force linker to use PIC veneers Ard Biesheuvel
2015-03-24 12:22 ` Dave Martin
2015-03-24 12:50   ` Ard Biesheuvel
2015-03-24 13:54     ` Dave Martin
2015-03-24 14:04       ` Ard Biesheuvel
2015-03-24 15:23         ` Nicolas Pitre
2015-03-24 17:35       ` Ard Biesheuvel
2015-03-25 10:46         ` Dave Martin
2015-03-26 11:36           ` Russell King - ARM Linux
2015-03-26 12:20             ` Ard Biesheuvel
2015-03-26 12:22               ` Russell King - ARM Linux [this message]
2015-03-26 12:24                 ` Ard Biesheuvel
2015-03-26 12:53                   ` Dave P Martin
2015-03-26 13:05                     ` Ard Biesheuvel
2015-03-26 13:19                       ` Dave P Martin
2015-03-27  0:01                         ` Ard Biesheuvel
2015-03-30 12:06                           ` Dave P Martin
2015-03-24 15:16     ` Nicolas Pitre
2015-03-24 15:23       ` Ard Biesheuvel
2015-03-24 15:49         ` Nicolas Pitre
2015-03-24 15:51           ` Ard Biesheuvel
2015-03-24 23:25             ` Russell King - ARM Linux
2015-03-24 23:30               ` Ard Biesheuvel
2015-03-24 15:41       ` Ard Biesheuvel
2015-03-24 16:42 ` 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=20150326122203.GG8656@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --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