This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
The x86-64 disassembler is broken
- To: binutils at sourceware dot cygnus dot com
- Subject: The x86-64 disassembler is broken
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Mon, 11 Jun 2001 17:59:31 -0700
- Cc: amodra at bigpond dot net dot au
Hi Alan,
I think your patch
http://sources.redhat.com/ml/binutils/2001-06/msg00241.html
breaks the x86-64 disassembler. I got
../as-new --64 -J -o dump.o
/home/hjl/work/linux/import/binutils/gas/testsuite/
gas/i386/x86_64.s
/export/build/gnu/binutils/build-full-i686-linux/gas/testsuite/../../binutils/ob
jdump -dw dump.o > dump.out
regexp_diff match failure
regexp "^[ ]+3d: 50[ ]+pushq[ ]+%rax$"
line " 3d: 50 push %rax"
regexp_diff match failure
regexp "^[ ]+3e: 41 50[ ]+pushq[ ]+%r8$"
line " 3e: 41 50 push %r8"
regexp_diff match failure
regexp "^[ ]+40: 41 59[ ]+popq[ ]+%r9$"
line " 40: 41 59 pop %r9"
FAIL: i386 x86_64
You can see it by adding --enable-64-bit-bfd --enable-targets=all
during configuration on x86.
H.J.