summaryrefslogtreecommitdiff
path: root/opcodes/h8300-dis.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-06-08 07:29:27 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-06-08 07:29:27 +0000
commit105f20de8eadb6b24f8fee807cda564421a394a6 (patch)
treec064f5cc9ec4cebb77a96c7459e1f6fd28bebbdc /opcodes/h8300-dis.c
parentf5f970bbe51eec1cb68a585488344d5cc4125b2d (diff)
downloadbinutils-redhat-105f20de8eadb6b24f8fee807cda564421a394a6.tar.gz
* a29k-dis.c: Replace CONST with const.
* h8300-dis.c: Likewise. * m68k-dis.c: Likewise. * or32-dis.c: Likewise. * sparc-dis.c: Likewise.
Diffstat (limited to 'opcodes/h8300-dis.c')
-rw-r--r--opcodes/h8300-dis.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/opcodes/h8300-dis.c b/opcodes/h8300-dis.c
index c521c773fc..d14fda9858 100644
--- a/opcodes/h8300-dis.c
+++ b/opcodes/h8300-dis.c
@@ -1,5 +1,6 @@
/* Disassemble h8300 instructions.
- Copyright 1993, 1994, 1996, 1998, 2000, 2001 Free Software Foundation, Inc.
+ Copyright 1993, 1994, 1996, 1998, 2000, 2001, 2002
+ Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -69,17 +70,17 @@ bfd_h8_disassemble (addr, info, mode)
int mode;
{
/* Find the first entry in the table for this opcode. */
- static CONST char *regnames[] =
+ static const char *regnames[] =
{
"r0h", "r1h", "r2h", "r3h", "r4h", "r5h", "r6h", "r7h",
"r0l", "r1l", "r2l", "r3l", "r4l", "r5l", "r6l", "r7l"
};
- static CONST char *wregnames[] =
+ static const char *wregnames[] =
{
"r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7",
"e0", "e1", "e2", "e3", "e4", "e5", "e6", "e7"
};
- static CONST char *lregnames[] =
+ static const char *lregnames[] =
{
"er0", "er1", "er2", "er3", "er4", "er5", "er6", "er7",
"er0", "er1", "er2", "er3", "er4", "er5", "er6", "er7"
@@ -92,7 +93,7 @@ bfd_h8_disassemble (addr, info, mode)
int plen = 0;
static boolean init = 0;
struct h8_opcode *q;
- char CONST **pregnames = mode != 0 ? lregnames : wregnames;
+ char const **pregnames = mode != 0 ? lregnames : wregnames;
int status;
int l;
unsigned char data[20];