This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: TLS transition error


From: "King, Steven R" <steven.r.king@intel.com>
Date: Fri, 19 Feb 2010 16:36:26 -0800

> libc.a(malloc.o): TLS transition from R_386_TLS_IE to R_386_TLS_LE_32 against `__libc_tsd_MALLOC' at 0x9c in section `.text' failed
> libc.a: could not read symbols: Bad value
> 
> I did an objdump -x of malloc.o and libc.a but don't see R_386_TLS_LE_32 anywhere.
>  
> I've stepped through the BFD code around the error, but there are many mystery constants in play and I am not making much progress.
> 
> Can someone please point me in the right direction?

The R_386_TLS_LE_32 relocation is being produced internally by the
i386 BFD backend during linking when it optimizes TLS relocations.

Start by studying elf_i386_tls_transition().


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