This is the mail archive of the libc-alpha@sources.redhat.com 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]

Linking TLS in shared libraries


I've noticed that all the TLS tests which build a shared library containing
LD or GD model data aren't (can't be) built with -z defs.  This seems
undesirable... the reason is that GNU ld does not load DT_NEEDED entries
when linking -shared, for reasons which I don't quite grok.  But this is
what it's done as far back as I checked.

Would it be reasonable to include ld.so in the libc.so linker script?  Are
there any other possible fixes?

-- 
Daniel Jacobowitz


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