From: H.J. Lu Date: Wed, 13 Dec 2006 19:39:12 +0000 (+0000) Subject: 2006-12-13 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=71903a11b9c39cc546b7004bffa0aab8553389c7;p=binutils-gdb.git 2006-12-13 H.J. Lu * config/tc-i386.c (build_modrm_byte): Set the Operand_PCrel bit only. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 49e2e4e8f55..ec7aa617766 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2006-12-13 H.J. Lu + + * config/tc-i386.c (build_modrm_byte): Set the Operand_PCrel + bit only. + 2006-12-13 H.J. Lu * config/tc-i386.c (match_template): Use a for loop to set diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index fc1f707bbe2..959afe67e5f 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -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; }