Did you check docs.sun.com?

A quick search of STATIC_TLS there gives this as the top link:

https://fins.com/rcmail/?_task=mail&_action=compose&_reply_uid=13673&_mbox=INBOX&_all=1

Which provides this definition:

...
DF_STATIC_TLS

    Indicates that the object contains code using a static thread-local
storage scheme.
    Static thread-local storage can not be used in objects that are
dynamically loaded,
    either using dlopen(3C), or using lazy loading. Because of this
restriction, the
    link-editor does not support the creation of a shared object that
requires static
    thread-local storage.
...


These guys have done a great job with the 'Linger & Libraries Guide' - do
refer to it as often as you can.

_Mike_



On Thu, 01 Nov 2007 02:27:29 PDT, verma <bhushan.verma at iap-online.com>
wrote:
> Hi ALl,]
> 
> I have made one executable related to TLS.
> When I do elfdump of this executable ,I see a flag "STATIC_TLS " in
> dynamic section of executable.
> #elfdump -d ./tls
> .........
> [22]  FLAGS             0x10                [ STATIC_TLS ]
> .........
> 
> Could any one help me what is this flag , and what this indicate I mean
> ,what is the use of this flag in case of rtld(ld.so.1).
> Is this applicable to static TLS or Dynamic TLS or both.
> 
> regards
> Bhushan
> 
> 
> This message posted from opensolaris.org
> _______________________________________________
> tools-linking mailing list
> tools-linking at opensolaris.org


Reply via email to