This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix errno on Alpha


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]