aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 53f8a43..55cab08 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2009-09-24 H.J. Lu <hongjiu.lu@intel.com>
+ * config/tc-i386.c (build_vex_prefix): Check vex == 2 instead
+ of vex256.
+
+2009-09-24 H.J. Lu <hongjiu.lu@intel.com>
+
PR gas/10677
* config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Return true
for BFD_RELOC_X86_64_GOTPCREL.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 3b9b361..4beeccc 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -2678,7 +2678,7 @@ build_vex_prefix (const insn_template *t)
i.tm = t[1];
}
- vector_length = i.tm.opcode_modifier.vex256 ? 1 : 0;
+ vector_length = i.tm.opcode_modifier.vex == 2 ? 1 : 0;
switch ((i.tm.base_opcode >> 8) & 0xff)
{