From: H.J. Lu Date: Fri, 4 Jan 2008 01:27:01 +0000 (+0000) Subject: 2008-01-03 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aacd03c3bbb0aa30e6524c4fab5d2679819b13f3;p=binutils-gdb.git 2008-01-03 H.J. Lu * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead of SYSV386_COMPAT. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 87b4ee531bf..7d7bb765fb5 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2008-01-03 H.J. Lu + + * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead + of SYSV386_COMPAT. + 2008-01-03 H.J. Lu * gas/config/tc-i386.c (cpu_arch_flags_not): Removed. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 050ad229b68..09675309177 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -2205,8 +2205,9 @@ md_assemble (line) if (intel_syntax) { - /* Undo SYSV386_COMPAT brokenness when in Intel mode. See i386.h */ - if (SYSV386_COMPAT + /* Undo AT&T Mnemonic brokenness when in Intel mode. See + i386-opc.tbl. */ + if (!intel_mnemonic && (i.tm.base_opcode & 0xfffffde0) == 0xdce0) i.tm.base_opcode ^= Opcode_FloatR;