aboutsummaryrefslogtreecommitdiff
path: root/opcodes/ppc-dis.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-06-03 11:46:04 +0930
committerAlan Modra <amodra@gmail.com>2019-06-03 11:50:51 +0930
commit4f6d070adb32e61c3c61e621c6566fc2d5af2232 (patch)
tree4f561881240a25d392e595ecd4d9404fca5bca87 /opcodes/ppc-dis.c
parent6187fc5364f6cc327805ecb4ba4962953f25122a (diff)
downloadgdb-4f6d070adb32e61c3c61e621c6566fc2d5af2232.zip
gdb-4f6d070adb32e61c3c61e621c6566fc2d5af2232.tar.gz
gdb-4f6d070adb32e61c3c61e621c6566fc2d5af2232.tar.bz2
Don't waste space in prefix_opcd_indices
* ppc-dis.c (prefix_opcd_indices): Correct size.
Diffstat (limited to 'opcodes/ppc-dis.c')
-rw-r--r--opcodes/ppc-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/ppc-dis.c b/opcodes/ppc-dis.c
index 9334be2..2f5756b 100644
--- a/opcodes/ppc-dis.c
+++ b/opcodes/ppc-dis.c
@@ -382,7 +382,7 @@ powerpc_init_dialect (struct disassemble_info *info)
#define PPC_OPCD_SEGS (1 + PPC_OP (-1))
static unsigned short powerpc_opcd_indices[PPC_OPCD_SEGS + 1];
#define PREFIX_OPCD_SEGS (1 + PPC_PREFIX_SEG (-1))
-static unsigned short prefix_opcd_indices[PPC_OPCD_SEGS+1];
+static unsigned short prefix_opcd_indices[PREFIX_OPCD_SEGS + 1];
#define VLE_OPCD_SEGS (1 + VLE_OP_TO_SEG (VLE_OP (-1, 0xffff)))
static unsigned short vle_opcd_indices[VLE_OPCD_SEGS + 1];
#define SPE2_OPCD_SEGS (1 + SPE2_XOP_TO_SEG (SPE2_XOP (-1)))