This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.


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

i386-dis.c OP_OFF patch


Objdump is incorrectly disassembling this insn:

	mov %fs:0,%eax

`%fs:' is not printed.

I don't know the 386 well enough, but does this look right?

Mon Jun  3 16:17:25 1996  Doug Evans  <dje@canuck.cygnus.com>

	* i386-dis.c (OP_OFF): Call append_prefix.

Index: i386-dis.c
===================================================================
RCS file: /cvs/cvsfiles/devo/opcodes/i386-dis.c,v
retrieving revision 1.19
diff -c -p -r1.19 i386-dis.c
*** i386-dis.c	1996/02/20 16:08:02	1.19
--- i386-dis.c	1996/06/03 23:14:13
*************** OP_OFF (bytemode)
*** 1939,1945 ****
       int bytemode;
  {
    int off;
!   
    if (aflag)
      off = get32 ();
    else
--- 1939,1947 ----
       int bytemode;
  {
    int off;
! 
!   append_prefix ();
! 
    if (aflag)
      off = get32 ();
    else