[PATCH] MIPS/GAS: Pass MIPS16 macro variadic arguments by reference

Richard Sandiford rdsandiford@googlemail.com
Tue Jul 27 18:40:00 GMT 2010
"Maciej W. Rozycki" <macro@codesourcery.com> writes:
>  Following earlier discussion I have updated the call to 
> mips16_macro_build() to pass variadic arguments by reference rather than 
> value.  The latter is a grey area of the C standard and is not supported 
> by GCC in a way portable across all the supported architectures.  This 
> change makes the call consistent with the upcoming microMIPS change.
>
>  Regression-tested succesfully on mips-sde-elf and mips-linux-gnu targets.
>
> 2010-07-26  Maciej W. Rozycki  <macro@codesourcery.com>
>
> 	gas/
> 	* config/tc-mips.c (mips16_macro_build): Pass "args" by
> 	reference rather than value. 
> 	(macro_build): Update accordingly.

OK, thanks.

Richard



More information about the Binutils mailing list