This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Mark __dso_handle hidden


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]