diff options
author | Jan Beulich <jbeulich@novell.com> | 2005-10-26 12:29:44 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2005-10-26 12:29:44 +0000 |
commit | 4d1bb7955a8b830dd30e41436d2cf3b7729e1a9b (patch) | |
tree | 6172873d92c06bb189a8c67a189d8e446c6b0ddb /gas/config/tc-i386.h | |
parent | 3dff57e8474430c098331cde4b2601944f00ae6f (diff) | |
download | gdb-4d1bb7955a8b830dd30e41436d2cf3b7729e1a9b.zip gdb-4d1bb7955a8b830dd30e41436d2cf3b7729e1a9b.tar.gz gdb-4d1bb7955a8b830dd30e41436d2cf3b7729e1a9b.tar.bz2 |
gas/
2005-10-26 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (i386_operand): Don't check register prefix here.
(parse_real_register): Rename from parse_register.
(parse_register): New.
(i386_parse_name): New.
(md_operand): New.
(intel_e11): Don't tolerate registers in offset expressions anymore.
(intel_get_token): Don't check register prefix here. Copy the actual
register token, not the canonical register name.
* config/tc-i386.h (md_operand): Delete.
(i386_parse_name): Declare.
(md_parse_name): Define.
gas/testsuite/
2005-10-26 Jan Beulich <jbeulich@novell.com>
* gas/i386/intel.s: Replace register used in offset expression.
* gas/i386/intel.e: Adjust.
* gas/i386/intelbad.l: Adjust.
* gas/i386/equ.[sed]: New.
* gas/i386/i386.exp: Run new test.
Diffstat (limited to 'gas/config/tc-i386.h')
-rw-r--r-- | gas/config/tc-i386.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h index bf537e0..40b92b0 100644 --- a/gas/config/tc-i386.h +++ b/gas/config/tc-i386.h @@ -434,7 +434,8 @@ extern int tc_i386_fix_adjustable PARAMS ((struct fix *)); || (FIX)->fx_r_type == BFD_RELOC_386_GOTPC \ || TC_FORCE_RELOCATION (FIX)) -#define md_operand(x) +extern int i386_parse_name (char *, expressionS *, char *); +#define md_parse_name(s, e, m, c) i386_parse_name (s, e, c) extern const struct relax_type md_relax_table[]; #define TC_GENERIC_RELAX_TABLE md_relax_table |