On 08/08/2012 03:07 AM, Richard Sandiford wrote:
It looks like this patch might have been written before:
http://gcc.gnu.org/ml/gcc-patches/2012-01/msg00756.html
which added:
/* If we're calling a locally-defined MIPS16 function, we know that
it will return values in both the "sof
Sandra Loosemore writes:
> Index: gcc/config/mips/mips.c
> ===
> --- gcc/config/mips/mips.c(revision 190188)
> +++ gcc/config/mips/mips.c(working copy)
> @@ -1530,6 +1530,8 @@ mips16_local_function_p (const_rtx x)
>return
This patch fixes a group of bugs that were causing link errors on
hard-float MIPS16 code built with a mips-linux-gnu toolchain. This is
Mark Mitchell's analysis of the original problem:
The MIPS16
instruction set cannot directly access hard-float registers, so helper
functions in libgcc are u