aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 87b4ee5..7d7bb76 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
+ * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
+ of SYSV386_COMPAT.
+
+2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
+
* gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
(cpu_flags_not): Likewise.
(cpu_flags_match): Updated to check 64bit and arch.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 050ad22..0967530 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;