This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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] Re: Accessing tls variables across files causes a bug


On Tue, Aug 05, 2008 at 02:08:47PM +0530, Vinay Sridhar wrote:
> 2. obtain symbol info from msymtab and check for the section value.
> AFAIK, elf has section=17 for tls. 

This number doesn't mean anything.  You want the STT_TLS section type.
But if you're doing the right thing without a minimal symbol why rely
on a minimal symbol at all?

-- 
Daniel Jacobowitz
CodeSourcery


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