Gas is broken for x86-64

H. J. Lu hjl@lucon.org
Fri Nov 5 23:04:00 GMT 2004


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.


H.J.



More information about the Binutils mailing list