This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

The x86-64 disassembler is broken


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]