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 | |
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')
-rw-r--r-- | opcodes/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/i386-opc.c | 9 | ||||
-rw-r--r-- | opcodes/i386-opc.h | 2 |
3 files changed, 7 insertions, 9 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 38af5f8..f7d22be 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,5 +1,10 @@ 2007-04-21 Alan Modra <amodra@bigpond.net.au> + * 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. + * ppc-opc.c (powerpc_operands): Delete duplicate entries. (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete. (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete. 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 }; diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h index 71f3892..67429f3 100644 --- a/opcodes/i386-opc.h +++ b/opcodes/i386-opc.h @@ -223,8 +223,6 @@ reg_entry; 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 { |