This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] MIPS/GAS: Pass MIPS16 macro variadic arguments by reference
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: "Maciej W. Rozycki" <macro at codesourcery dot com>
- Cc: binutils at sourceware dot org, Catherine Moore <clm at codesourcery dot com>, gnu-mips-sgxx at codesourcery dot com
- Date: Tue, 27 Jul 2010 19:40:24 +0100
- Subject: Re: [PATCH] MIPS/GAS: Pass MIPS16 macro variadic arguments by reference
- References: <alpine.DEB.1.10.1007260146000.29495@tp.orcam.me.uk>
"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