[PATCH] Use MIPS jal instruction instead of jalr
Daniel Jacobowitz
drow@false.org
Sat Apr 30 00:42:00 GMT 2005
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
More information about the Libc-alpha
mailing list