diff options
author | Alan Modra <amodra@gmail.com> | 2007-04-21 06:54:57 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-04-21 06:54:57 +0000 |
commit | db55703487ec04ac06156ab76ea068055e494dde (patch) | |
tree | 6fde7e7c055a968a4805d584e9bf0a897237c1a5 /opcodes/i386-opc.c | |
parent | c43a438d5eb0a2e19397a4c0fb51ce3a68ed1503 (diff) | |
download | gdb-db55703487ec04ac06156ab76ea068055e494dde.zip gdb-db55703487ec04ac06156ab76ea068055e494dde.tar.gz gdb-db55703487ec04ac06156ab76ea068055e494dde.tar.bz2 |
gas/
* expr.c (expr): Assert on rankarg, not rank which can be unsigned.
* read.c (read_a_source_file): Remove buffer_limit[-1] assertion.
Don't skip over NUL char.
(pseudo_set): Set X_op for registers to O_register.
* symbols.c (symbol_clone): Remove assertion that sym is defined.
(resolve_symbol_value): Resolve O_register symbols.
* config/tc-i386.c (parse_real_register): Don't use i386_float_regtab.
Instead find st(0) by hash lookup.
* config/tc-ppc.c (ppc_macro): Warning fix.
opcodes/
* i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
Move contents to..
(i386_regtab): ..here.
* i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
Diffstat (limited to 'opcodes/i386-opc.c')
-rw-r--r-- | opcodes/i386-opc.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/opcodes/i386-opc.c b/opcodes/i386-opc.c index 191054d..a374b65 100644 --- a/opcodes/i386-opc.c +++ b/opcodes/i386-opc.c @@ -1712,12 +1712,7 @@ const reg_entry i386_regtab[] = /* No type will make this register rejected for all purposes except for addressing. This saves creating one extra type for RIP. */ {"rip", BaseIndex, 0, 0}, -}; - -const unsigned int i386_regtab_size = ARRAY_SIZE (i386_regtab); - -const reg_entry i386_float_regtab[] = -{ + /* fp regs. */ {"st(0)", FloatReg|FloatAcc, 0, 0}, {"st(1)", FloatReg, 0, 1}, {"st(2)", FloatReg, 0, 2}, @@ -1728,7 +1723,7 @@ const reg_entry i386_float_regtab[] = {"st(7)", FloatReg, 0, 7} }; -const unsigned int i386_float_regtab_size = ARRAY_SIZE (i386_float_regtab); +const unsigned int i386_regtab_size = ARRAY_SIZE (i386_regtab); /* Segment stuff. */ const seg_entry cs = { "cs", 0x2e }; |