aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2010-02-20 11:31:31 -0800
committerAurelien Jarno <aurelien@aurel32.net>2010-03-23 22:00:43 +0100
commit3436332ed6eeb379d6d545d357362b8bcea40495 (patch)
tree4e882874ded320f699092505edb284822fbc383f
parent0c62de2f4df339230aa0f0b954847a870a02a5de (diff)
tcg-hppa: Fix const errors in hppa-dis.c
Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rw-r--r--hppa-dis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hppa-dis.c b/hppa-dis.c
index 9d96d72a57..49f99c8d9e 100644
--- a/hppa-dis.c
+++ b/hppa-dis.c
@@ -576,7 +576,7 @@ struct pa_opcode
const char *name;
unsigned long int match; /* Bits that must be set... */
unsigned long int mask; /* ... in these bits. */
- char *args;
+ const char *args;
enum pa_arch arch;
char flags;
};
@@ -2753,7 +2753,7 @@ print_insn_hppa (bfd_vma memaddr, disassemble_info *info)
int sf = GET_FIELD (insn, 19, 20);
const char * const * source = float_format_names;
const char * const * dest = float_format_names;
- char *t = "";
+ const char *t = "";
if (sub == 4)
{