* mips-tdep.c (mips_reg3_to_reg): Optimize storage.

This commit is contained in:
Maciej W. Rozycki 2012-05-18 23:53:19 +00:00
parent 4cc0665f24
commit d467df4e86
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-05-18 Maciej W. Rozycki <macro@codesourcery.com>
* mips-tdep.c (mips_reg3_to_reg): Optimize storage.
2012-05-18 Maciej W. Rozycki <macro@codesourcery.com>
* NEWS: Add microMIPS support and "set mips compression",

View File

@ -781,7 +781,7 @@ mips_ax_pseudo_register_push_stack (struct gdbarch *gdbarch,
}
/* Table to translate 3-bit register field to actual register number. */
static int mips_reg3_to_reg[8] = { 16, 17, 2, 3, 4, 5, 6, 7 };
static const signed char mips_reg3_to_reg[8] = { 16, 17, 2, 3, 4, 5, 6, 7 };
/* Heuristic_proc_start may hunt through the text section for a long
time across a 2400 baud serial line. Allows the user to limit this