diff options
author | Jan Beulich <jbeulich@novell.com> | 2018-08-03 09:30:02 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2018-08-03 09:30:02 +0200 |
commit | c48dadc9a87f4fc3408987fc4dbd312bed50da9c (patch) | |
tree | abac271e381eddbc6174d2d5c8301df01bf09c29 /gas/config/tc-i386-intel.c | |
parent | 3ed12f02a20a487ce46b463746c52c2905e16c03 (diff) | |
download | gdb-c48dadc9a87f4fc3408987fc4dbd312bed50da9c.zip gdb-c48dadc9a87f4fc3408987fc4dbd312bed50da9c.tar.gz gdb-c48dadc9a87f4fc3408987fc4dbd312bed50da9c.tar.bz2 |
x86: drop "mem" operand type attribute
No template specifies this bit, so there's no point recording it in the
templates. Use a flags[] bit instead.
Diffstat (limited to 'gas/config/tc-i386-intel.c')
-rw-r--r-- | gas/config/tc-i386-intel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-i386-intel.c b/gas/config/tc-i386-intel.c index 26fc3ef..dd509d5 100644 --- a/gas/config/tc-i386-intel.c +++ b/gas/config/tc-i386-intel.c @@ -875,7 +875,7 @@ i386_intel_operand (char *operand_string, int got_a_float) i.mem_operands = 0; i.disp_operands = 0; i.imm_operands = 2; - i.types[0].bitfield.mem = 0; + i.flags[0] &= ~Operand_Mem; i.types[0].bitfield.disp16 = 0; i.types[0].bitfield.disp32 = 0; i.types[0].bitfield.disp32s = 0; @@ -1009,7 +1009,7 @@ i386_intel_operand (char *operand_string, int got_a_float) if (!i386_index_check (operand_string)) return 0; - i.types[this_operand].bitfield.mem = 1; + i.flags[this_operand] |= Operand_Mem; if (i.mem_operands == 0) i.memop1_string = xstrdup (operand_string); ++i.mem_operands; |