This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: PATCH: Fix errlist for mips
- From: Roland McGrath <roland at redhat dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: Daniel Jacobowitz <dan at debian dot org>,GNU C Library <libc-alpha at sources dot redhat dot com>,linux-mips at linux-mips dot org
- Date: Tue, 5 Nov 2002 19:44:46 -0800
- Subject: Re: PATCH: Fix errlist for mips
> On Tue, Nov 05, 2002 at 06:53:17PM -0800, Roland McGrath wrote:
> > > Here's what my MIPS glibc has:
> > > 0019df30 g DO .data 000001ec (GLIBC_2.0) sys_errlist
> > > 0019df30 g DO .data 000011b8 GLIBC_2.2 sys_errlist
> > > 0019df30 g DO .data 000001ec (GLIBC_2.0) _sys_errlist
> > > 0019df30 g DO .data 000011b8 GLIBC_2.2 _sys_errlist
> >
> > Ok, that says sys_nerr=123 in 2.0 and sys_nerr=1134 in 2.2.
> > I have changed the map to have just those.
>
> Please keep in mind that the next version is GLIBC_2.1, not
> GLIBC_2.2. The reason you see GLIBC_2.2 is GLIBC_2.2 is the
> first versioned ABI for MIPS.
I don't think it's meaningful to make the distinction. If we wrote
GLIBC_2.1, shlib-versions causes it to be GLIBC_2.2, but that's more
confusing. Now it says GLIBC_2.2, and that's what you get. There was
never a "sys_errlist@GLIBC_2.1" symbol in any binary, so it doesn't make
sense to have that version set.