public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Chuck Ebbert <76306.1226@compuserve.com>
Cc: linux-kernel@vger.kernel.org, mbligh@mbligh.org,
	Mattia Dongili <malattia@linux.it>, Andrew Morton <akpm@osdl.org>
Subject: Re: fs/binfmt_aout.o, Error: suffix or operands invalid for  `cmp' [was Re: 2.6.1
Date: Thu, 22 Jun 2006 08:36:40 -0700	[thread overview]
Message-ID: <449AB908.30002@zytor.com> (raw)
In-Reply-To: <200606220238_MC3-1-C321-1AC2@compuserve.com>

Chuck Ebbert wrote:
>>>>
>>> It's complaining about this:
>>>
>>> #APP
>>>         addl %ecx,%eax ; sbbl %edx,%edx; cmpl %eax,$-1073741824; sbbl $0,%edx   # dump.u_dsize, sum, flag,
>>> #NO_APP
>> The cmpl should have its arguments reversed.  It's quite possible some versions of the 
>> assembler accepts the form given, but they're wrong (and doubly confusing when used as 
>> input to sbb.)
> 
> This was built with gcc 4.0.4 20060507 (prerelease).
> 
> I don't normally build a.out support, but I just tried and it compiled
> fine with gcc 4.1.1.  SO this is probably a compiler bug (almost certainly
> given that it generated illegal assembler code.)
> 

It's not (it's #APP, i.e. inline assembly); rather, it's an illegal 
constraint.

	-hpa

  reply	other threads:[~2006-06-22 15:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-22  6:34 fs/binfmt_aout.o, Error: suffix or operands invalid for `cmp' [was Re: 2.6.1 Chuck Ebbert
2006-06-22 15:36 ` H. Peter Anvin [this message]
2006-06-23  9:06   ` Steven Rostedt
2006-06-23 16:27     ` H. Peter Anvin
2006-06-24 11:53       ` Steven Rostedt

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=449AB908.30002@zytor.com \
    --to=hpa@zytor.com \
    --cc=76306.1226@compuserve.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=malattia@linux.it \
    --cc=mbligh@mbligh.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