PATCH: Mark __dso_handle hidden

H.J. Lu hjl.tools@gmail.com
Wed Jun 15 20:16:00 GMT 2011


On Wed, Jun 15, 2011 at 12:44 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> On Wed, Jun 15, 2011 at 06:10:12AM -0700, H.J. Lu wrote:
>> Since __dso_handle is always hidden, we can optimize atexit by marking
>> __dso_handle hidden.
>
> That will break linking with old gcc versions and non-gcc compilers.
> While it is fine to require recent gcc versions to build glibc itself,
> atexit is in libc_nonshared.a.

In that case, atexit won't work correctly anyway.


-- 
H.J.



More information about the Libc-alpha mailing list