This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH] PPC64 tls fixes
On Tue, Mar 04, 2003 at 11:33:05PM -0800, Roland McGrath wrote:
> Well, the 16-bit TLS relocs were what I asked about, perhaps it wasn't
> clear. Would those not also be generated in any non-PIC code doing
> IE-model TLS access?
No, DTPREL16 relocs won't ever be dynamic (unless I'm totally confused!).
They're tls block relative relocs used in LD model, so the linker is
able to resolve them.
Code sequence Reloc Sym
addi 3,2,x1 at got@tlsld R_PPC64_GOT_TLSLD16 x1
bl .__tls_get_addr R_PPC64_REL24 .__tls_get_addr
addi 9,3,x1 at dtprel R_PPC64_DTPREL16 x1
IBM OzLabs - Linux Technology Centre