This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Fix errno on Alpha
- From: Richard Henderson <rth at twiddle dot net>
- To: libc-alpha at sources dot redhat dot com
- Date: Fri, 10 Jan 2003 11:00:51 -0800
- Subject: Re: Fix errno on Alpha
- References: <20030108153012.GA7569@nevyn.them.org>
On Wed, Jan 08, 2003 at 10:30:12AM -0500, Daniel Jacobowitz wrote:
> Right now, Alpha uses a !samegp optimized branch to call
> __errno_location. This tells the linker that we always want the copy
> of __errno_location in this shared object; so syscalls never find the
> copy in libpthread.so, and set the main thread's errno instead of the
> current thread's errno. Easily fixed, like so; please apply.
Really? Grr. This is a linker bug. We should have gotten
a link error for BRSGP on an symbol that can be overridden.
Thanks.
r~