aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/i386-dis.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index b18b6b9..a62a5d0 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ * i386-dis.c (print_insn): Support bfd_mach_x64_32 and
+ bfd_mach_x64_32_intel_syntax.
+
2010-12-18 Mingjie Xing <mingjie.xing@gmail.com>
* mips-opc.c (WR_z, WR_Z, RD_z, RD_Z, RD_d): Define.
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index f2def13..0c807ba 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -11330,6 +11330,8 @@ print_insn (bfd_vma pc, disassemble_info *info)
if (info->mach == bfd_mach_x86_64_intel_syntax
|| info->mach == bfd_mach_x86_64
+ || info->mach == bfd_mach_x64_32_intel_syntax
+ || info->mach == bfd_mach_x64_32
|| info->mach == bfd_mach_l1om
|| info->mach == bfd_mach_l1om_intel_syntax)
address_mode = mode_64bit;
@@ -11339,13 +11341,16 @@ print_insn (bfd_vma pc, disassemble_info *info)
if (intel_syntax == (char) -1)
intel_syntax = (info->mach == bfd_mach_i386_i386_intel_syntax
|| info->mach == bfd_mach_x86_64_intel_syntax
+ || info->mach == bfd_mach_x64_32_intel_syntax
|| info->mach == bfd_mach_l1om_intel_syntax);
if (info->mach == bfd_mach_i386_i386
|| info->mach == bfd_mach_x86_64
+ || info->mach == bfd_mach_x64_32
|| info->mach == bfd_mach_l1om
|| info->mach == bfd_mach_i386_i386_intel_syntax
|| info->mach == bfd_mach_x86_64_intel_syntax
+ || info->mach == bfd_mach_x64_32_intel_syntax
|| info->mach == bfd_mach_l1om_intel_syntax)
priv.orig_sizeflag = AFLAG | DFLAG;
else if (info->mach == bfd_mach_i386_i8086)