[mips-tls] Question about MIPS-TLS DTP relocations

Daniel Jacobowitz dan at codesourcery.com
Mon Dec 29 16:56:14 UTC 2008


On Mon, Dec 29, 2008 at 04:56:06PM +0530, Jags wrote:
> When I prepare my executable and run it, dynamic linker fails to relocate
> the symbols and aborts.

Sounds like your dynamic linker does not support TLS.

> My question is we do not have a relocation type of R_MIPS_TLS_DTPMOD,
> instead we have R_MIPS_TLS_DTPMOD32 and R_MIPS_TLS_DTPMOD64.
> So my dynamic linker is correct?? Do i need to use -fPIE, instead of -fPIC.

Try readelf -W (--wide).  It's just cutting off the last few
characters.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the mips-tls mailing list