This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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: Choosing the right TLS access model


Hi,

Ian Lance Taylor <iant@google.com> writes:

> ludo@gnu.org (Ludovic Courtès) writes:

>> Likewise, Section 2.1 of [1] reads:
>> 
>>   Under certain circumstances, [the Initial Exec model] may be used in
>>   dynamic libraries as well, but it may come at the cost of being unable
>>   to dlopen such libraries.
>> 
>> This gives the impression that shared libraries that are not meant to be
>> dlopened can be compiled with `-ftls-model=initial-exec'.  Is this true?
>
> I believe that is true.

Hmm, do you know of libraries compiled this way?

Thanks,
Ludovic.


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