Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2008 15:21:36 -0400 (EDT)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Alexander Kabaev <kabaev@gmail.com>
Cc:        Alexander Kabaev <kan@freebsd.org>, cvs-src@freebsd.org, src-committers@freebsd.org, Jason Evans <jasone@freebsd.org>, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/lib/libc Versions.def
Message-ID:  <Pine.GSO.4.64.0805081520090.23126@sea.ntplx.net>
In-Reply-To: <20080508144536.55a1a1d1@kan.dnsalias.net>
References:  <200805071539.m47FdYWZ033147@repoman.freebsd.org> <48224C59.7090005@FreeBSD.org> <Pine.GSO.4.64.0805080146080.20207@sea.ntplx.net> <20080508144536.55a1a1d1@kan.dnsalias.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 8 May 2008, Alexander Kabaev wrote:

> On Thu, 8 May 2008 01:55:32 -0400 (EDT)
> Daniel Eischen <deischen@freebsd.org> wrote:
>
>>
>> FYI, before I commited this change, I looked at how glibc did it.
>> Their private namespace does not inherit from the GLIBC public
>> namespace.  But perhaps they have other ways of preventing
>> exactly what kan is trying to avoid.
>>
> You looked at sources, I guess, not what gets generated after they run
> their AWK script on it.

No, I looked at the awk script, but that's not to say that
I interpreted it correctly ;-)

> $ readelf -V /compat/linux/lib/libc-2.3.6.so
> ...
> Version definition section '.gnu.version_d' contains 18 entries:
>  Addr: 0x0000000000011b40  Offset: 0x011b40  Link: 4 (.dynstr)
>  000000: Rev: 1  Flags: BASE   Index: 1  Cnt: 1  Name: libc.so.6
>  0x001c: Rev: 1  Flags: none  Index: 2  Cnt: 1  Name: GLIBC_2.0
>  0x0038: Rev: 1  Flags: none  Index: 3  Cnt: 2  Name: GLIBC_2.1
>  0x0054: Parent 1: GLIBC_2.0
> ...
>  0x0230: Rev: 1  Flags: none  Index: 17  Cnt: 2  Name: GLIBC_PRIVATE
>  0x024c: Parent 1: GLIBC_2.3.4

-- 
DE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0805081520090.23126>