aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2008-01-08 19:51:24 +0000
committerH.J. Lu <hjl.tools@gmail.com>2008-01-08 19:51:24 +0000
commita761937534ef16c9c0c27f25e7162e422518d345 (patch)
tree8a8612a718faddc5c3542b35a6d1c867c428f931 /gas
parent0b3549005ab0f40b9b1f3a95b3bc369f1142b9cd (diff)
downloadgdb-a761937534ef16c9c0c27f25e7162e422518d345.zip
gdb-a761937534ef16c9c0c27f25e7162e422518d345.tar.gz
gdb-a761937534ef16c9c0c27f25e7162e422518d345.tar.bz2
2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (i386_operand): Renamed to ... (i386_att_operand): This. (parse_operands): Updated.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-i386.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 153e9de..41e4c6d 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-i386.c (i386_operand): Renamed to ...
+ (i386_att_operand): This.
+ (parse_operands): Updated.
+
2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
* doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index bcf299f..2192dea 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -66,7 +66,7 @@ static void pe_directive_secrel (int);
#endif
static void signed_cons (int);
static char *output_invalid (int c);
-static int i386_operand (char *);
+static int i386_att_operand (char *);
static int i386_intel_operand (char *, int);
static const reg_entry *parse_register (char *, char **);
static char *parse_insn (char *, char *);
@@ -2656,7 +2656,7 @@ parse_operands (char *l, const char *mnemonic)
i386_intel_operand (token_start,
intel_float_operand (mnemonic));
else
- operand_ok = i386_operand (token_start);
+ operand_ok = i386_att_operand (token_start);
RESTORE_END_STRING (l);
if (!operand_ok)
@@ -6054,7 +6054,7 @@ i386_index_check (const char *operand_string)
on error. */
static int
-i386_operand (char *operand_string)
+i386_att_operand (char *operand_string)
{
const reg_entry *r;
char *end_op;