From mboxrd@z Thu Jan 1 00:00:00 1970 From: hjl@nynexst.com (H.J. Lu) To: dj@stealth.ctron.com (DJ Delorie) Cc: gas2@cygnus.com, masaki@eie.minolta.co.jp Subject: Re: [masaki@eie.monolta.co.jp: GAS bug and etc] Date: Fri, 11 Nov 1994 06:28:00 -0000 Message-id: <9411111426.AA05475@titanic.nynexst.com> References: <9411111413.AA08124@delorie> X-SW-Source: 1994/msg00183.html Your patch jusr reversed what I did. Could you please tell me why I was wrong and you were right? I thought I checked the Intel x86 manual when I fixed that bug. Thanks. H.J. ----- Thu Mar 31 19:34:08 1994 Ken Raeburn (raeburn@cujo.cygnus.com) * i386.h (IS_JUMP_ON_ECX_ZERO, "jcxz" pattern): Operand size prefix is 0x66, not 0x67. Patch from H.J. Lu (hlu@nynexst.com). ------ > > > Return-Path: > Date: Fri, 11 Nov 1994 14:27:09 +0900 > To: djgpp@sun.soe.clarkson.edu > From: masaki@eie.monolta.co.jp (Kenji Masaki) > X-Sender: masaki@vivid.eie.minolta.co.jp > Subject: GAS bug and etc > Mime-Version: 1.0 > Content-Type: text/plain; charset=iso-2022-jp > X-Mailer: Eudora-J(1.3.7-J12) > DJ-Mail-Sort: djgpp@, djgpp > > Hello. DJ and evrybody > > We (members of FETX at Niftyserve in JAPAN) found a bug of GAS 2.3 , 2.5.1 > and 2.5.2 ,and FIX it as follows. > > By the way, it seems that treatment of long-filename lacks unity in djgpp. > i.e. _fixpath is called in stat(), while DPMI(DOS) function [is] called > directry in access.c. Shouldn't it be standardized? > > > diff --context=2 -r c:/binutils.2/include/opcode/i386.h > d:/binutils.2/include/opcode/i386.h > *** c:/binutils.2/include/opcode/i386.h Thu Mar 31 16:35:32 1994 > --- d:/binutils.2/include/opcode/i386.h Wed Nov 9 15:44:48 1994 > *************** > *** 324,332 **** > /* these turn into pseudo operations when disp is larger than 8 bits */ > #define IS_JUMP_ON_CX_ZERO(o) \ > ! (o == 0x66e3) > #define IS_JUMP_ON_ECX_ZERO(o) \ > (o == 0xe3) > > ! {"jcxz", 1, 0x66e3, _, JumpByte, { Disp, 0, 0} }, > {"jecxz", 1, 0xe3, _, JumpByte, { Disp, 0, 0} }, > --- 324,332 ---- > /* these turn into pseudo operations when disp is larger than 8 bits */ > #define IS_JUMP_ON_CX_ZERO(o) \ > ! (o == 0x67e3) /* by members of FEXT niftyserve */ > #define IS_JUMP_ON_ECX_ZERO(o) \ > (o == 0xe3) > > ! {"jcxz", 1, 0x67e3, _, JumpByte, { Disp, 0, 0} }, /* by members of FEXT > niftyserve */ > {"jecxz", 1, 0xe3, _, JumpByte, { Disp, 0, 0} }, > > ---------- Kenji Masaki > ------------------------------ > Kenji Masaki  >   Image Infomation Engineering > Division > MINOLTA Co. Ltd. , JAPAN > ------------------------------