2006-12-13 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 13 Dec 2006 19:39:12 +0000 (19:39 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 13 Dec 2006 19:39:12 +0000 (19:39 +0000)
* config/tc-i386.c (build_modrm_byte): Set the Operand_PCrel
bit only.

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

index 49e2e4e8f553b3ca0a0bf77e5f0d76ee96ad4e6c..ec7aa617766e00386589212bd5e5e4d21fd4e107 100644 (file)
@@ -1,3 +1,8 @@
+2006-12-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (build_modrm_byte): Set the Operand_PCrel
+       bit only.
+
 2006-12-13  H.J. Lu  <hongjiu.lu@intel.com>
 
        * config/tc-i386.c (match_template): Use a for loop to set
index fc1f707bbe2c4dfc1c12cb37b7de2206615be3b4..959afe67e5f407b4b05e43d13768a2eec27eb792 100644 (file)
@@ -3526,7 +3526,7 @@ build_modrm_byte ()
              i.rm.regmem = NO_BASE_REGISTER;
              i.types[op] &= ~ Disp;
              i.types[op] |= Disp32S;
-             i.flags[op] = Operand_PCrel;
+             i.flags[op] |= Operand_PCrel;
              if (! i.disp_operands)
                fake_zero_displacement = 1;
            }