This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 1/5] PowerPC add initial -mfuture instruction support
- From: "Jan Beulich" <jbeulich at suse dot com>
- To: <amodra at gmail dot com>
- Cc: <binutils at sourceware dot org>
- Date: Sun, 02 Jun 2019 00:33:15 -0600
- Subject: Re: [PATCH 1/5] PowerPC add initial -mfuture instruction support
- References: <20190524013110.GC6820@bubble.grove.modra.org> <20190524013332.GD6820@bubble.grove.modra.org>
Alan,
>>> Alan Modra <amodra@gmail.com> 05/24/19 3:33 AM >>>
>@@ -376,6 +381,8 @@ 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];
Isn't the array dimension a copy-and-paste mistake, i.e. shouldn't it be
PREFIX_OPCD_SEGS + 1 ?
Jan