Fix errno on Alpha
Jakub Jelinek
jakub@redhat.com
Wed Jan 8 15:38:00 GMT 2003
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.
?? Both __errno_location in libc.so and __errno_location in libpthread.so
do exactly the same, it doesn't matter which one do you use.
libc.so's is in linuxthreads/sysdeps/pthread/errno-loc.c,
libpthread.so's is in linuxthreads/errno.c.
Jakub
More information about the Libc-alpha
mailing list