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: PATCH: NPTL support for MIPS


> 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?


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