* config/tc-i386.c (i386_intel_operand): Always call i386_index_check

for memory operands.  Pass the full operand_string to i386_index_check.
This commit is contained in:
Alan Modra 2003-08-04 12:03:49 +00:00
parent 8c6756949e
commit a4622f4072
2 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2003-08-04 Alan Modra <amodra@bigpond.net.au>
* config/tc-i386.c (i386_intel_operand): Always call i386_index_check
for memory operands. Pass the full operand_string to i386_index_check.
2003-08-01 Jason Eckhardt <jle@rice.edu>
* config/tc-i860.c: Remove SYNTAX_SVR4 macro and occurrences.

View file

@ -5621,8 +5621,9 @@ i386_intel_operand (operand_string, got_a_float)
/* Add the displacement expression. */
if (*s != '\0')
ret = i386_displacement (s, s + strlen (s))
&& i386_index_check (s);
ret = i386_displacement (s, s + strlen (s));
if (ret)
ret = i386_index_check (operand_string);
}
}