diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2007-03-15 17:30:31 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2007-03-15 17:30:31 +0000 |
commit | c3fe08facbc8d8e8e0bdff27a01c0c77a03a5047 (patch) | |
tree | e452b44b07f1d8277eb0f51d1e53c87222e18515 /opcodes/i386-opc.h | |
parent | 4061927e10148290f821a3bce1b20870bf01534a (diff) | |
download | gdb-c3fe08facbc8d8e8e0bdff27a01c0c77a03a5047.zip gdb-c3fe08facbc8d8e8e0bdff27a01c0c77a03a5047.tar.gz gdb-c3fe08facbc8d8e8e0bdff27a01c0c77a03a5047.tar.bz2 |
gas/
2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (md_begin): Use i386_regtab_size to scan
i386_regtab.
(parse_register): Use i386_regtab_size instead of ARRAY_SIZE
on i386_regtab.
opcodes/
2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
* i386-opc.c: Include "libiberty.h".
(i386_regtab): Remove the last entry.
(i386_regtab_size): New.
(i386_float_regtab_size): Likewise.
* i386-opc.h (i386_regtab_size): New.
(i386_float_regtab_size): Likewise.
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r-- | opcodes/i386-opc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h index f944b9d..83211dd 100644 --- a/opcodes/i386-opc.h +++ b/opcodes/i386-opc.h @@ -214,7 +214,9 @@ reg_entry; #define REGNAM_EAX 41 extern const reg_entry i386_regtab[]; +extern const unsigned int i386_regtab_size; extern const reg_entry i386_float_regtab[]; +extern const unsigned int i386_float_regtab_size; typedef struct { |