lkml.org 
[lkml]   [2006]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateThu, 22 Jun 2006 08:36:40 -0700
From"H. Peter Anvin" <>
SubjectRe: fs/binfmt_aout.o, Error: suffix or operands invalid for `cmp' [was Re: 2.6.1
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-22 17:39    [from the cache]
©2003-2010