This is the mail archive of the libc-help@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] |
On Monday 20 April 2009 19:35:48 Petr Baudis wrote: > On Mon, Apr 20, 2009 at 07:20:53PM -0400, Mike Frysinger wrote: > > On Monday 20 April 2009 16:11:29 Eduardo wrote: > > > Is there a way to access the symbols _dl_tls_static_size and > > > _dl_tls_static_align from a user program? I mean, I want to know the > > > size and alignment of the TLS in a program. > > > > > > This symbols are define inside the dynamic loader, but apparently they > > > are not exported. > > > > if they arent exported, then you cant access them > > However, you can use _dl_get_tls_static_info() as declared in > sysdeps/generic/ldsodefs.h to get the information. Note that this is > an internal interface and probably has no ABI stability guarantees. that symbol didnt exist in glibc-2.8, so yes, that can probably be used so long as you dont need something even close to portable. these internal functions (marked GLIBC_PRIVATE) come and go between glibc versions. -mike
Attachment:
signature.asc
Description: This is a digitally signed message part.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |