From aacd03c3bbb0aa30e6524c4fab5d2679819b13f3 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 4 Jan 2008 01:27:01 +0000 Subject: [PATCH] 2008-01-03 H.J. Lu * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead of SYSV386_COMPAT. --- gas/ChangeLog | 5 +++++ gas/config/tc-i386.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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; -- 2.30.2