public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
* i386-dis.c OP_OFF patch
@ 1996-06-03 16:27 Doug Evans
  0 siblings, 0 replies; only message in thread
From: Doug Evans @ 1996-06-03 16:27 UTC (permalink / raw)
  To: gas2

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-06-03 16:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-06-03 16:27 i386-dis.c OP_OFF patch Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).