From f0bef9f7e48c6b60d758557099f4316483d4e052 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 13 Dec 2006 19:39:12 +0000 Subject: [PATCH] 2006-12-13 H.J. Lu * config/tc-i386.c (build_modrm_byte): Set the Operand_PCrel bit only. --- gas/ChangeLog | 5 +++++ gas/config/tc-i386.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 49e2e4e8f..ec7aa6177 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,10 @@ 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 operand_types array. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index fc1f707bb..959afe67e 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; } -- 2.11.4.GIT