This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use MIPS jal instruction instead of jalr


On Fri, Apr 29, 2005 at 05:37:25PM -0700, Ranjani Murthy wrote:
> A similar problem to the fix in
> http://sources.redhat.com/ml/libc-alpha/2003-03/msg00106.html.
> The MIPS jalr instructions could cause a crash in CENABLE/CDISABLE.  
> The jalr instruction needs to be replaced with jal instruction.

Sure you don't want to do it the same way that the NPTL port does?

In fact, I don't see any related differences between the two.  The
LinuxThreads port I'm looking at restores $gp manually.  Where was
there a crash?

-- 
Daniel Jacobowitz
CodeSourcery, LLC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]