another minor Xtensa cleanup

Bob Wilson bwilson@tensilica.com
Sat Feb 3 00:37:00 GMT 2007


There is an initialization function for Xtensa "tinsn" structures in GAS, but in 
some places, memset was being used to clear them instead.  If we're going to 
have such a function, we might as well use it.  Tested with an xtensa-elf build 
and committed.

gas/
	* config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
	(xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gas-tinsn-init.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20070203/6f940562/attachment.ksh>


More information about the Binutils mailing list