summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2013-10-10 17:19:49 +0000
committerRoland McGrath <roland@gnu.org>2013-10-10 17:19:49 +0000
commitfbee2c8d33bd03e436a3e4adec6c86dc6b849df9 (patch)
tree4e797db0a0474f5b251a07f9fac6f219a258a5d8 /opcodes
parenta0b879550299e99aedfea8516999e977a133d26b (diff)
downloadbinutils-redhat-fbee2c8d33bd03e436a3e4adec6c86dc6b849df9.tar.gz
opcodes/
* v850-dis.c (v850_cacheop_codes, v850_prefop_codes): Remove duplicate const qualifier.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/v850-dis.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 6c407a7116..490615fdd9 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-10 Roland McGrath <mcgrathr@google.com>
+
+ * v850-dis.c (v850_cacheop_codes, v850_prefop_codes):
+ Remove duplicate const qualifier.
+
2013-10-08 Jan Beulich <jbeulich@suse.com>
* i386-opc.tbl (invlpg): Use Anysize instead of Unspecified.
diff --git a/opcodes/v850-dis.c b/opcodes/v850-dis.c
index bf168516d9..9433274d49 100644
--- a/opcodes/v850-dis.c
+++ b/opcodes/v850-dis.c
@@ -73,7 +73,7 @@ static const char *const v850_cacheop_names[] =
"chbwbd", "cibid", "cibiwbd", "cibwbd", "cfald", "cistd", "cildd"
};
-static const int const v850_cacheop_codes[] =
+static const int v850_cacheop_codes[] =
{
0x00, 0x20, 0x40, 0x60, 0x61, 0x04, 0x06,
0x07, 0x24, 0x26, 0x27, 0x44, 0x64, 0x65, -1
@@ -82,7 +82,7 @@ static const int const v850_cacheop_codes[] =
static const char *const v850_prefop_names[] =
{ "prefi", "prefd" };
-static const int const v850_prefop_codes[] =
+static const int v850_prefop_codes[] =
{ 0x00, 0x04, -1};
static void
@@ -405,7 +405,7 @@ disassemble (bfd_vma memaddr,
{
info->fprintf_func (info->stream, ", %s[", prefix);
square = TRUE;
- }
+ }
else if (opnum > 1)
info->fprintf_func (info->stream, ", %s", prefix);