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]

Re: fixing i386 gas for 16-bit code



Whoops!  I forgot to sent the hack for using objdump for 16-bit
disassembly (this is against binutils-2.6):

---------------------(diff for "opcodes/i386-dis.c")---------------------
--- i386-dis.c.orig     Thu Oct  5 19:18:18 1995
+++ i386-dis.c  Mon Apr 29 17:36:18 1996
@@ -1042,8 +1042,8 @@
     }

   /* these would be initialized to 0 if disassembling for 8086 or 286 */
-  dflag = 1;
-  aflag = 1;
+  dflag = 0;
+  aflag = 0;

   if (prefixes & PREFIX_DATA)
     dflag ^= 1;
---------------------(diff for "opcodes/i386-dis.c")---------------------

--
  Erich Stefan Boleyn                 \_ E-mail (preferred):  <erich@uruk.org>
Mad Genius wanna-be, CyberMuffin        \__      (finger me for other stats)
Web:  http://www.uruk.org/~erich/     Motto: "I'll live forever or die trying"
  This is my home system, so I'm speaking only for myself, not for Intel.