Re: [PATCH] MIPS/libgcc: Avoid the PLT in MIPS16 stub calls

2013-08-16 Thread Maciej W. Rozycki
On Wed, 7 Aug 2013, Richard Sandiford wrote: > > /* Define a function NAME that moves a return value of mode MODE from > > FPRs to GPRs. */ > > > > -#define RET_FUNCTION(NAME, MODE) \ > > +#define _RET_FUNCTION(NAME, MODE) \ > > STARTFN (NAME);\ > > MOVE

Re: [PATCH] MIPS/libgcc: Avoid the PLT in MIPS16 stub calls

2013-08-13 Thread Maciej W. Rozycki
On Wed, 7 Aug 2013, Richard Sandiford wrote: > > BTW, what's the "Check for MicroMIPS support." note seen in the > > config.host piece of the patch referring to? > > No idea, please remove it. I have committed the change below. 2013-08-13 Maciej W. Rozycki libgcc/ * confi

Re: [PATCH] MIPS/libgcc: Avoid the PLT in MIPS16 stub calls

2013-08-07 Thread Richard Sandiford
"Maciej W. Rozycki" writes: > BTW, what's the "Check for MicroMIPS support." note seen in the > config.host piece of the patch referring to? No idea, please remove it. > /* Define a function NAME that moves a return value of mode MODE from > FPRs to GPRs. */ > > -#define RET_FUNCTION(N

[PATCH] MIPS/libgcc: Avoid the PLT in MIPS16 stub calls

2013-08-01 Thread Maciej W. Rozycki
Hi, As originally signalled here: http://gcc.gnu.org/ml/gcc-patches/2012-02/msg00140.html here is a change to prevent MIPS16 stub calls from being made through the PLT by making them hidden. This is needed to avoid $2 and possibly $3 from being clobbered by MIPS16 code in the PLT. Originall