2006-12-13 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (build_modrm_byte): Set the Operand_PCrel bit only.
This commit is contained in:
parent
a5c311ca76
commit
71903a11b9
|
@ -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>
|
2006-12-13 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* config/tc-i386.c (match_template): Use a for loop to set
|
* config/tc-i386.c (match_template): Use a for loop to set
|
||||||
|
|
|
@ -3526,7 +3526,7 @@ build_modrm_byte ()
|
||||||
i.rm.regmem = NO_BASE_REGISTER;
|
i.rm.regmem = NO_BASE_REGISTER;
|
||||||
i.types[op] &= ~ Disp;
|
i.types[op] &= ~ Disp;
|
||||||
i.types[op] |= Disp32S;
|
i.types[op] |= Disp32S;
|
||||||
i.flags[op] = Operand_PCrel;
|
i.flags[op] |= Operand_PCrel;
|
||||||
if (! i.disp_operands)
|
if (! i.disp_operands)
|
||||||
fake_zero_displacement = 1;
|
fake_zero_displacement = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue