2009-09-15 H.J. Lu <hongjiu.lu@intel.com>

* i386-dis.c (OP_E_memory): Don't print '-' in Intel mode if
	disp == -disp.
This commit is contained in:
H.J. Lu 2009-09-15 17:53:40 +00:00
parent 9de868bf63
commit 0520304376
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (OP_E_memory): Don't print '-' in Intel mode if
disp == -disp.
2009-09-14 Nick Clifton <nickc@redhat.com>
* po/nl.po: Updated Dutch translation.

View File

@ -11107,7 +11107,7 @@ OP_E_memory (int bytemode, int sizeflag)
*obufp++ = '+';
*obufp = '\0';
}
else if (modrm.mod != 1)
else if (modrm.mod != 1 && disp != -disp)
{
*obufp++ = '-';
*obufp = '\0';