aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2006-12-13 19:39:12 +0000
committerH.J. Lu <hjl.tools@gmail.com>2006-12-13 19:39:12 +0000
commit71903a11b9c39cc546b7004bffa0aab8553389c7 (patch)
treefe8ef20bec8c1200fb276e93020417aaeaf1cf6a /gas/config
parenta5c311ca767b8e291e5f9a62c6a13e964bbd56ed (diff)
downloadgdb-71903a11b9c39cc546b7004bffa0aab8553389c7.zip
gdb-71903a11b9c39cc546b7004bffa0aab8553389c7.tar.gz
gdb-71903a11b9c39cc546b7004bffa0aab8553389c7.tar.bz2
2006-12-13 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (build_modrm_byte): Set the Operand_PCrel bit only.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index fc1f707..959afe6 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;
}