public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Nick Clifton <nickc@redhat.com>
To: Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
Cc: "binutils@sourceware.org" <binutils@sourceware.org>,
	       Richard Earnshaw <Richard.Earnshaw@arm.com>
Subject: Re: [RFA/ARM]: Patch to workaround ARM1176 BLX (immediate) Thumb to ARM issue
Date: Thu, 28 Jul 2011 16:41:00 -0000	[thread overview]
Message-ID: <4E316C2B.6060906@redhat.com> (raw)
In-Reply-To: <4E3037DD.7030606@arm.com>

Hi Matthew,

> * When the option is on the linker will only use BLX if the target
> architecture (derived from the object files) is v6T2, v7, or
> greater.

This does not seem right to me.  The erratum only applies to the 
ARM1176JZ-S and ARM1176JZF-S processors and only to Thumb BLX 
instructions.  Disabling the use of BLX in ARM mode or for pre-ARM11 
cores will generate needlessly larger code.

Also when you check the Tag_CPU_arch value, please use the enum names, 
not the integer values.

Cheers
   Nick



  parent reply	other threads:[~2011-07-28 14:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-27 16:29 Matthew Gretton-Dann
2011-07-27 16:44 ` Joseph S. Myers
2011-07-28 16:41 ` Nick Clifton [this message]
2011-07-28 21:33   ` Matthew Gretton-Dann
2011-07-29 13:34     ` Matthew Gretton-Dann
2011-08-08  9:52       ` [PING] " Matthew Gretton-Dann
2011-08-09 12:17         ` Nick Clifton
2011-08-09 13:15           ` Matthew Gretton-Dann

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=4E316C2B.6060906@redhat.com \
    --to=nickc@redhat.com \
    --cc=Richard.Earnshaw@arm.com \
    --cc=binutils@sourceware.org \
    --cc=matthew.gretton-dann@arm.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).