PATCH: NPTL support for MIPS
Roland McGrath
roland@redhat.com
Wed Mar 16 23:25:00 GMT 2005
> This is entirely within LinuxThreads. Both libc.so and libpthread.so
> will try to access p_errno, which has to be at a common offset in this
> structure. This "padding" is unused in libc.so, but used in
> libpthread.so, and it lives before p_errno - so when it isn't included,
> libc clobbers the wrong location in the descriptor when it tries to set
> errno.
Why is it located there?
More information about the Libc-alpha
mailing list