All of lore.kernel.org
 help / color / mirror / Atom feed
From: simon.kagstrom@netinsight.net (Simon Kagstrom)
To: linux-arm-kernel@lists.infradead.org
Subject: drivers/mtd/nand/orion_nand.c build failure with old ABI
Date: Thu, 12 Nov 2009 08:53:03 +0100	[thread overview]
Message-ID: <20091112085303.213dc75c@marrow.netinsight.se> (raw)
In-Reply-To: <alpine.LFD.2.00.0911111054500.16711@xanadu.home>

On Wed, 11 Nov 2009 10:55:43 -0500 (EST)
Nicolas Pitre <nico@fluxnic.net> wrote:

> On Wed, 11 Nov 2009, Martin Michlmayr wrote:
> 
> > drivers/mtd/nand/orion_nand.c fails to build when EABI is not set:
> > 
> >   CC      drivers/mtd/nand/orion_nand.o
> > /tmp/ccDFyfwN.s: Assembler messages:
> > /tmp/ccDFyfwN.s:120: Error: first destination register must be even -- `ldrd r3,[ip]'
> > make[3]: *** [drivers/mtd/nand/orion_nand.o] Error 1
> > make[2]: *** [drivers/mtd/nand] Error 2
> 
> Grrrrr.  Let me think of a workaround.

Interesting problem. I looked in the GCC manual for a matching
constraint to satisfy this, but didn't find anything that seems to fit
right away. SPARC has the

    `U'      Even register

constraint, and perhaps it would be make good sense to have the same
for ARM. Not that it helps right the current situation, but anyway :-)

// Simon

      reply	other threads:[~2009-11-12  7:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-11 15:32 drivers/mtd/nand/orion_nand.c build failure with old ABI Martin Michlmayr
2009-11-11 15:55 ` Nicolas Pitre
2009-11-12  7:53   ` Simon Kagstrom [this message]

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=20091112085303.213dc75c@marrow.netinsight.se \
    --to=simon.kagstrom@netinsight.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.