This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] Use MIPS jal instruction instead of jalr
- From: Daniel Jacobowitz <drow at false dot org>
- To: Ranjani Murthy <ranmur at gmail dot com>
- Cc: libc-alpha <libc-alpha at sources dot redhat dot com>
- Date: Fri, 29 Apr 2005 20:42:22 -0400
- Subject: Re: [PATCH] Use MIPS jal instruction instead of jalr
- References: <a56d537c050429173731f883b1@mail.gmail.com>
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