[Top] [All Lists]

Re: PATCH: Fix errlist for mips

To: Roland McGrath <>, GNU C Library <>,
Subject: Re: PATCH: Fix errlist for mips
From: "H. J. Lu" <>
Date: Sat, 26 Oct 2002 11:20:31 -0700
In-reply-to: <>; from on Sat, Oct 26, 2002 at 02:14:31PM -0400
Original-recipient: rfc822;
References: <> <> <> <> <> <>
User-agent: Mutt/
On Sat, Oct 26, 2002 at 02:14:31PM -0400, Daniel Jacobowitz wrote:
> On Fri, Oct 25, 2002 at 09:55:43PM -0700, H. J. Lu wrote:
> > On Sat, Oct 26, 2002 at 12:45:49AM -0400, Daniel Jacobowitz wrote:
> > > Not everyone uses your MIPS patches; I have a completely functional
> > > MIPS system with:
> > > 0019df30 l     O .data  000011b8              _new_sys_errlist
> > > 0019df30 l     O .data  000001ec              _old_sys_errlist
> > 
> > It doesn't tell anything. Please, please show size of sys_errlist in
> > glibc 2.0 for mips. I am not even sure if you can run mips binaries
> > compiled against glibc 2.0 with glibc 2.2/2.3.
> I didn't use 2.0 for MIPS either.  And I got the wrong impression from
> your last message; sorry!
> 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
> So: I don't know where the GLIBC_2.1 version came from, or why we need
> a GLIBC_2.3 version, or why we should change the size of the GLIBC_2.0
> version.  Your patch looks good; should you wipe the GLIBC_2.1 version
> also?

sys_errlist in glibc 2.0 is naked. We gave it a version of GLIBC_2.0
when versioning was implemented and we had to increase the size of
sys_errlist. We gave it a new version, GLIBC_2.1. Now sys_errlist is
changed again for some arches. That is where GLIBC_2.3 came from. For
mips, the first supported glibc version after 2.0 is 2.2. That turns
GLIBC_2.1 into GLIBC_2.2 for mips. Since mips's sys_errlist is huge in 
2.2, there is no need to change it in 2.3.


<Prev in Thread] Current Thread [Next in Thread>