This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix mips PR bootstrap/13145
- From: Richard Henderson <rth at redhat dot com>
- To: Richard Sandiford <rsandifo at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 1 Dec 2003 17:06:35 -0800
- Subject: Re: Fix mips PR bootstrap/13145
- References: <87d6bbcf5e.fsf@redhat.com>
On Sat, Nov 29, 2003 at 04:29:01PM +0000, Richard Sandiford wrote:
> This patch fixes PR 13145, a bootstrap failure on mips-linux-gnu.
> The problem was that a function's lazy binding stub was being called twice.
Why is this a problem? This must work, otherwise threads that
simultaneously call the same stub will fail. The second time
we call the stub we should fix up the memory in the exact same
way as the first time we call the stub. Slightly inefficient,
perhaps, but there should be no serious consequences.
r~