This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Gas is broken for x86-64
On Fri, Nov 05, 2004 at 03:04:29PM -0800, H. J. Lu wrote:
> On Fri, Nov 05, 2004 at 03:00:27PM -0800, H. J. Lu wrote:
> > On Fri, Nov 05, 2004 at 02:47:58PM -0800, H. J. Lu wrote:
> > > Hi Jan,
> > >
> > > Your i386 opcode change breaks x86-64. I got
> > >
> > > [hjl@gnu-64 gas]$ cat /tmp/x.s
> > > movzb (%rax),%edx
> > > [hjl@gnu-64 gas]$ ./as-new -o x.o /tmp/x.s
> > > /tmp/x.s: Assembler messages:
> > > /tmp/x.s:1: Error: no such instruction: `movzb (%rax),%edx'
> > >
> > >
> >
> > Your patch
> >
> > http://sources.redhat.com/ml/binutils/2004-11/msg00033/binutils-mainline-x86-intel-syntax.patch
> >
> > removed movzb. It is wrong.
>
> BTW, do you know what other instructions you have removed? We can't
> remove any of them unless we have a very good reason.
>
I checked in a patch to restore "movzb":
http://sources.redhat.com/ml/binutils-cvs/2004-11/msg00045.html
H.J.