This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Constify avr-dis.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]