This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFA] Constify avr-dis.c
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Klee Dienes <klee at apple dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 18 Nov 2002 15:58:46 +1030
- Subject: Re: [RFA] Constify avr-dis.c
- References: <EA2E39CC-F758-11D6-B5E7-00039396EEB8@apple.com>
On Wed, Nov 13, 2002 at 05:40:31PM -0500, Klee Dienes wrote:
> * avr-dis.c: Include libiberty.h (for xmalloc).
> (struct avr_opcodes_s): Remove 'bin_mask' field (it's
> automatically computed in the init routine).
> (AVR_INSN): No longer provide bin_mask field in initializer.
> (avr_opcodes_s): Declare as const.
> (print_insn_avr): Store the bin_mask field in a separate table
> (allocated with xmalloc); iterate through it at the same time as
> we iterate through the opcodes.
OK.
--
Alan Modra
IBM OzLabs - Linux Technology Centre