From: Roland McGrath Date: Thu, 10 Oct 2013 17:19:49 +0000 (+0000) Subject: opcodes/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7903e5309890633911c91539e23a407e1f74b959;p=binutils-gdb.git opcodes/ * v850-dis.c (v850_cacheop_codes, v850_prefop_codes): Remove duplicate const qualifier. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 6c407a7116f..490615fdd96 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2013-10-10 Roland McGrath + + * v850-dis.c (v850_cacheop_codes, v850_prefop_codes): + Remove duplicate const qualifier. + 2013-10-08 Jan Beulich * i386-opc.tbl (invlpg): Use Anysize instead of Unspecified. diff --git a/opcodes/v850-dis.c b/opcodes/v850-dis.c index bf168516d9f..9433274d493 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);