2009-10-13 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 13 Oct 2009 16:42:40 +0000 (16:42 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 13 Oct 2009 16:42:40 +0000 (16:42 +0000)
PR binutils/10766
* config/tc-i386.c (build_modrm_byte): Declare exp earlier.

gas/ChangeLog
gas/config/tc-i386.c

index 2ae18e1ed7b7f2191d1b40761dc204461e30ce80..4bfe4bc38ae221dccd7fb1810fce968c5ee322cd 100644 (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
index 54edb1b80d3115f1ec8c71b5a36ca6f73b037a10..c01175fef5836132bc323f95e6960e1cf6ee9247 100644 (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++;
This page took 0.031282 seconds and 4 git commands to generate.