[RFA] Constify avr-dis.c

Alan Modra amodra@bigpond.net.au
Sun Nov 17 21:28:00 GMT 2002


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



More information about the Binutils mailing list