[Zlib-devel] zlib 1.2.3.6 available for testing
Török Edwin
edwintorok at gmail.com
Tue Jan 19 03:33:55 EST 2010
On 01/19/2010 06:57 AM, Enrico Weigelt wrote:
> Mark Adler wrote:
>
> Hi,
>
>
>> On Jan 18, 2010, at 6:16 PM, Enrico Weigelt wrote:
>>
>>> (gentoo) symbol visibility
>>> http://repo.or.cz/w/oss-qm-packages.git/commit/5f6ae600dd2612a9339236b6f3cac8db4a353fce
>>>
>> What is all that about "visibility"?
>>
>
> That's a patch taken from the Gentoo port. Obviously it checks
> whether the compiler supports the visibility attribute to hide
> non-public symbols.
>
> Actually I'm not sure whether this is still required (the referred
> tickets are a bit old ;-o)
>
zlib already has a linker map on Linux, doesn't it?
AFAIK the visibility attribute doesn't have much additional benefits, it
may enable some additional
constant propagation/inlining between functions in the same source file
(even when -fPIC is used), but
I am not sure if that actually makes a difference for zlib.
Best regards,
--Edwin
More information about the Zlib-devel
mailing list