aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2008-01-04 01:27:01 +0000
committerH.J. Lu <hjl.tools@gmail.com>2008-01-04 01:27:01 +0000
commitaacd03c3bbb0aa30e6524c4fab5d2679819b13f3 (patch)
treeec0436694b9db820f150f8df35685a5e89567210 /gas
parent3629bb00a8c7689af995272018df56e85b82f569 (diff)
downloadgdb-aacd03c3bbb0aa30e6524c4fab5d2679819b13f3.zip
gdb-aacd03c3bbb0aa30e6524c4fab5d2679819b13f3.tar.gz
gdb-aacd03c3bbb0aa30e6524c4fab5d2679819b13f3.tar.bz2
2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (md_assemble): Use !intel_mnemonic instead of SYSV386_COMPAT.
Diffstat (limited to 'gas')
-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;