cvs commit: src/lib/libc Versions.def

Daniel Eischen deischen at freebsd.org
Thu May 8 19:21:38 UTC 2008


On Thu, 8 May 2008, Alexander Kabaev wrote:

> On Thu, 8 May 2008 01:55:32 -0400 (EDT)
> Daniel Eischen <deischen at 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


More information about the cvs-src mailing list