2009-10-13 H.J. Lu <hongjiu.lu@intel.com>

PR binutils/10766
	* config/tc-i386.c (build_modrm_byte): Declare exp earlier.
This commit is contained in:
H.J. Lu
2009-10-13 16:42:40 +00:00
parent cd2b2c108e
commit 4c2c651631
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-10-13 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/10766
* config/tc-i386.c (build_modrm_byte): Declare exp earlier.
2009-10-13 H.J. Lu <hongjiu.lu@intel.com>
PR gas/10740

View File

@ -4873,6 +4873,7 @@ build_modrm_byte (void)
if (vex_3_sources)
{
unsigned int nds, reg;
expressionS *exp;
if (i.tm.opcode_modifier.veximmext
&& i.tm.opcode_modifier.immext)
@ -4896,7 +4897,7 @@ build_modrm_byte (void)
/* Generate an 8bit immediate operand to encode the register
operand. */
expressionS *exp = &im_expressions[i.imm_operands++];
exp = &im_expressions[i.imm_operands++];
i.op[i.operands].imms = exp;
i.types[i.operands] = imm8;
i.operands++;